public interface BulkRecordReader extends Closeable
| Modifier and Type | Method and Description |
|---|---|
BulkObject |
read()
Reads a single bulk object from the file
|
<T extends BulkObject> |
tryRead(Class<T> klazz)
Attempts to read an entity of a particular type
|
<T extends BulkObject> |
tryRead(Predicate<T> predicate,
Class<T> klazz)
Attempts to read an entity of a particular type and which passes the
passed test function
|
BulkObject read()
<T extends BulkObject> TryResult<T> tryRead(Class<T> klazz)
klazz - the type to attempt to read<T extends BulkObject> TryResult<T> tryRead(Predicate<T> predicate, Class<T> klazz)
predicate - A function with which to test the objectklazz - the type to attempt to readCopyright © 2024. All rights reserved.