public class _TestHelper extends Object
Constructor | Description |
---|---|
_TestHelper() |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
isSimpleFSIndexInput(IndexInput is) |
Returns true if the instance of the provided input stream is actually
an SimpleFSIndexInput.
|
static boolean |
isSimpleFSIndexInputClone(IndexInput is) |
Returns true if the provided input stream is an SimpleFSIndexInput and
is a clone, that is it does not own its underlying file descriptor.
|
static boolean |
isSimpleFSIndexInputOpen(IndexInput is) |
Given an instance of SimpleFSDirectory.SimpleFSIndexInput, this method returns
true if the underlying file descriptor is valid, and false otherwise.
|
public static boolean isSimpleFSIndexInput(IndexInput is)
public static boolean isSimpleFSIndexInputClone(IndexInput is)
public static boolean isSimpleFSIndexInputOpen(IndexInput is) throws IOException
IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.