| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private long | |
| private static final String | |
| private static final long | |
| private DataFileReader. | |
| pack-priv static final byte[] | |
| private Map | |
| private static final String | |
| private D | |
| private DatumReader | |
| private static final String | |
| private Schema | |
| private static final String | |
| private byte[] | |
| private static final int | |
| private byte[] | |
| private static final byte | |
| private BinaryDecoder |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public synchronized byte[] | |
| public synchronized long | |
| public synchronized String | |
| public Schema | getSchema()
Implements org. |
| public boolean | |
| public Iterator | |
| public D | |
| public synchronized D | next(D
an instance to reuse. reuse)Implements org. |
| public boolean | pastSync(long position)
Implements org. |
| public void | remove()
Overrides default java. |
| public synchronized void | seek(long position)
Move to the specified synchronization point, as returned by
|
| private void | |
| public synchronized void | sync(long position)
Implements org. |
| public long |
| blockCount | back to summary |
|---|---|
| private long blockCount | |
| blockStart | back to summary |
|---|---|
| private long blockStart | |
| CODEC | back to summary |
|---|---|
| private static final String CODEC | |
| FOOTER_BLOCK | back to summary |
|---|---|
| private static final long FOOTER_BLOCK | |
| in | back to summary |
|---|---|
| private DataFileReader. | |
| MAGIC | back to summary |
|---|---|
| pack-priv static final byte[] MAGIC | |
| meta | back to summary |
|---|---|
| private Map<String, byte[]> meta | |
| NULL_CODEC | back to summary |
|---|---|
| private static final String NULL_CODEC | |
| peek | back to summary |
|---|---|
| private D peek | |
| reader | back to summary |
|---|---|
| private DatumReader<D> reader | |
| SCHEMA | back to summary |
|---|---|
| private static final String SCHEMA | |
| schema | back to summary |
|---|---|
| private Schema schema | |
| SYNC | back to summary |
|---|---|
| private static final String SYNC | |
| sync | back to summary |
|---|---|
| private byte[] sync | |
| SYNC_SIZE | back to summary |
|---|---|
| private static final int SYNC_SIZE | |
| syncBuffer | back to summary |
|---|---|
| private byte[] syncBuffer | |
| VERSION | back to summary |
|---|---|
| private static final byte VERSION | |
| vin | back to summary |
|---|---|
| private BinaryDecoder vin | |
| DataFileReader12 | back to summary |
|---|---|
| public DataFileReader12(SeekableInput sin, DatumReader<D> reader) throws IOException Construct a reader for a file. | |
| close | back to summary |
|---|---|
| public synchronized void close() throws IOException Implements java. Close this reader.
| |
| getMeta | back to summary |
|---|---|
| public synchronized byte[] getMeta(String key) Return the value of a metadata property. | |
| getMetaLong | back to summary |
|---|---|
| public synchronized long getMetaLong(String key) Return the value of a metadata property. | |
| getMetaString | back to summary |
|---|---|
| public synchronized String getMetaString(String key) Return the value of a metadata property. | |
| getSchema | back to summary |
|---|---|
| public Schema getSchema() Implements org. Return the schema used in this file.
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type | |
| next | back to summary |
|---|---|
| public D next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| next | back to summary |
|---|---|
| public synchronized D next(D reuse) throws IOException Implements org. Return the next datum in the file.
| |
| pastSync | back to summary |
|---|---|
| public boolean pastSync(long position) throws IOException Implements org. Return true if past the next synchronization point after a position.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |
| seek | back to summary |
|---|---|
| public synchronized void seek(long position) throws IOException Move to the specified synchronization point, as returned by
| |
| skipSync | back to summary |
|---|---|
| private void skipSync() throws IOException | |
| sync | back to summary |
|---|---|
| public synchronized void sync(long position) throws IOException Implements org. Move to the next synchronization point after a position.
| |
| tell | back to summary |
|---|---|
| public long tell() throws IOException Implements org. Return the current position in the input.
| |