# Index

B C D E F G H I L M N O R S T V W
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

## B

BOOLEAN - Enum constant in enum org.apache.trevni.ValueType
BYTES - Enum constant in enum org.apache.trevni.ValueType
BZip2Codec - Class in org.apache.trevni
BZip2Codec() - Constructor for class org.apache.trevni.BZip2Codec

## C

close() - Method in class org.apache.trevni.ColumnFileReader
close() - Method in class org.apache.trevni.InputFile
ColumnFileMetaData - Class in org.apache.trevni
  File-level metadata.
ColumnFileMetaData() - Constructor for class org.apache.trevni.ColumnFileMetaData
ColumnFileReader - Class in org.apache.trevni
  Reads data from a column file.
ColumnFileReader(File) - Constructor for class org.apache.trevni.ColumnFileReader
  Construct reading from the named file.
ColumnFileReader(Input) - Constructor for class org.apache.trevni.ColumnFileReader
  Construct reading from the provided input.
ColumnFileWriter - Class in org.apache.trevni
  Writes data to a column file.
ColumnFileWriter(ColumnFileMetaData, ColumnMetaData...) - Constructor for class org.apache.trevni.ColumnFileWriter
  Construct given metadata for each column in the file.
ColumnMetaData - Class in org.apache.trevni
  Metadata for a column.
ColumnMetaData(String, ValueType) - Constructor for class org.apache.trevni.ColumnMetaData
  Construct given a name and type.
ColumnValues<T> - Class in org.apache.trevni
  An iterator over column values.
computeOffset(ByteBuffer) - Static method in class org.apache.trevni.BZip2Codec

## D

DEFAULT_BUFFER_SIZE - Static variable in class org.apache.trevni.BZip2Codec
DOUBLE - Enum constant in enum org.apache.trevni.ValueType

## E

endRow() - Method in class org.apache.trevni.ColumnFileWriter
  Expert: Called after all values are written to a row.

## F

FIXED32 - Enum constant in enum org.apache.trevni.ValueType
FIXED64 - Enum constant in enum org.apache.trevni.ValueType
FLOAT - Enum constant in enum org.apache.trevni.ValueType
forName(String) - Static method in enum org.apache.trevni.ValueType
  Return a type given its name.

## G

get(MetaData) - Static method in class org.apache.trevni.BZip2Codec
getBoolean(String) - Method in class org.apache.trevni.MetaData
  Return true iff a key has any value, false if it is not present.
getChecksum() - Method in class org.apache.trevni.MetaData
  Return the checksum algorithm name.
getChildren() - Method in class org.apache.trevni.ColumnMetaData
  Return this column's children or null.
getCodec() - Method in class org.apache.trevni.MetaData
  Return the compression codec name.
getColumnCount() - Method in class org.apache.trevni.ColumnFileReader
  Return the number of columns in this file.
getColumnCount() - Method in class org.apache.trevni.ColumnFileWriter
  Return the number of columns in the file.
getColumnMetaData() - Method in class org.apache.trevni.ColumnFileReader
  Return all columns' metadata.
getColumnMetaData(int) - Method in class org.apache.trevni.ColumnFileReader
  Return a column's metadata.
getColumnMetaData(String) - Method in class org.apache.trevni.ColumnFileReader
  Return a column's metadata.
getLong(String) - Method in class org.apache.trevni.MetaData
  Return the value of a metadata property as a long.
getMetaData() - Method in class org.apache.trevni.ColumnFileReader
  Return this file's metadata.
getMetaData() - Method in class org.apache.trevni.ColumnFileWriter
  Return this file's metadata.
getName() - Method in class org.apache.trevni.ColumnMetaData
  Return this column's name.
getName() - Method in enum org.apache.trevni.ValueType
  Return the name of this type.
getNumber() - Method in class org.apache.trevni.ColumnMetaData
  Return this column's number in a file.
getParent() - Method in class org.apache.trevni.ColumnMetaData
  Return this column's parent or null.
getRoots() - Method in class org.apache.trevni.ColumnFileReader
  Return root columns' metadata.
getRow() - Method in class org.apache.trevni.ColumnValues
  Return the current row number within this file.
getRowCount() - Method in class org.apache.trevni.ColumnFileReader
  Return the number of rows in this file.
getString(String) - Method in class org.apache.trevni.MetaData
  Return the value of a metadata property as a String.
getType() - Method in class org.apache.trevni.ColumnMetaData
  Return this column's type.
getValues(int) - Method in class org.apache.trevni.ColumnFileReader
  Return an iterator over values in a column.
getValues(String) - Method in class org.apache.trevni.ColumnFileReader
  Return an iterator over values in the named column.

## H

hasIndexValues() - Method in class org.apache.trevni.ColumnMetaData
  Get whether this column has an index of blocks by value.
hasIndexValues(boolean) - Method in class org.apache.trevni.ColumnMetaData
  Set whether this column has an index of blocks by value.
hasNext() - Method in class org.apache.trevni.ColumnValues

## I

Input - Interface in org.apache.trevni
  A byte source that supports positioned read and length.
InputBytes - Class in org.apache.trevni
  An `Input` backed with data in a byte array.
InputBytes(byte[]) - Constructor for class org.apache.trevni.InputBytes
  Construct for the given bytes.
InputBytes(ByteBuffer) - Constructor for class org.apache.trevni.InputBytes
  Construct for the given bytes.
InputFile - Class in org.apache.trevni
  An `Input` for files.
InputFile(File) - Constructor for class org.apache.trevni.InputFile
  Construct for the given file.
INT - Enum constant in enum org.apache.trevni.ValueType
isArray() - Method in class org.apache.trevni.ColumnMetaData
  Return true if this column is an array.
isArray(boolean) - Method in class org.apache.trevni.ColumnMetaData
  Set whether this column is an array.
isReserved(String) - Static method in class org.apache.trevni.MetaData
  Test if a metadata key is reserved.
iterator() - Method in class org.apache.trevni.ColumnValues

## L

length() - Method in interface org.apache.trevni.Input
  Return the total length of the input.
length() - Method in class org.apache.trevni.InputBytes
length() - Method in class org.apache.trevni.InputFile
LONG - Enum constant in enum org.apache.trevni.ValueType

## M

MetaData<T> - Class in org.apache.trevni
  Base class for metadata.
MetaData() - Constructor for class org.apache.trevni.MetaData

## N

next() - Method in class org.apache.trevni.ColumnValues
nextLength() - Method in class org.apache.trevni.ColumnValues
  Expert: Returns the next length in an array column.
nextValue() - Method in class org.apache.trevni.ColumnValues
  Expert: Returns the next value in a column.
NULL - Enum constant in enum org.apache.trevni.ValueType

## O

org.apache.trevni - package org.apache.trevni
  A column file format.

## R

read(long, byte[], int, int) - Method in interface org.apache.trevni.Input
  Positioned read.
read(long, byte[], int, int) - Method in class org.apache.trevni.InputBytes
read(long, byte[], int, int) - Method in class org.apache.trevni.InputFile
remove() - Method in class org.apache.trevni.ColumnValues

## S

seek(long) - Method in class org.apache.trevni.ColumnValues
  Seek to the named row.
seek(T) - Method in class org.apache.trevni.ColumnValues
  Seek to the named value.
set(String, byte[]) - Method in class org.apache.trevni.MetaData
  Set a metadata property to a binary value.
set(String, long) - Method in class org.apache.trevni.MetaData
  Set a metadata property to a long value.
set(String, String) - Method in class org.apache.trevni.MetaData
  Set a metadata property to a String value.
setChecksum(String) - Method in class org.apache.trevni.MetaData
  Set the checksum algorithm name.
setCodec(String) - Method in class org.apache.trevni.MetaData
  Set the compression codec name.
setParent(ColumnMetaData) - Method in class org.apache.trevni.ColumnMetaData
  Set this column's parent.
sizeEstimate() - Method in class org.apache.trevni.ColumnFileWriter
  Return the approximate size of the file that will be written.
startRow() - Method in class org.apache.trevni.ColumnFileWriter
  Expert: Called before any values are written to a row.
startRow() - Method in class org.apache.trevni.ColumnValues
  Expert: Must be called before any calls to `ColumnValues.nextLength()` or `ColumnValues.nextValue()`.
STRING - Enum constant in enum org.apache.trevni.ValueType

## T

toString() - Method in class org.apache.trevni.MetaData
TrevniRuntimeException - Exception Class in org.apache.trevni
  Base runtime exception thrown by Trevni.
TrevniRuntimeException(String) - Constructor for exception class org.apache.trevni.TrevniRuntimeException
TrevniRuntimeException(String, Throwable) - Constructor for exception class org.apache.trevni.TrevniRuntimeException
TrevniRuntimeException(Throwable) - Constructor for exception class org.apache.trevni.TrevniRuntimeException

## V

valueOf(String) - Static method in enum org.apache.trevni.ValueType
  Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.trevni.ValueType
  Returns an array containing the constants of this enum type, in the order they are declared.
ValueType - Enum in org.apache.trevni
  The datatypes that may be stored in a column.

## W

writeLength(int, int) - Method in class org.apache.trevni.ColumnFileWriter
  Expert: Declare a count of items to be written to an array column or a column whose parent is an array.
writeRow(Object...) - Method in class org.apache.trevni.ColumnFileWriter
  Add a row to the file.
writeTo(File) - Method in class org.apache.trevni.ColumnFileWriter
  Write all rows added to the named file.
writeTo(OutputStream) - Method in class org.apache.trevni.ColumnFileWriter
  Write all rows added to the named output stream.
writeValue(Object, int) - Method in class org.apache.trevni.ColumnFileWriter
  Expert: Add a value to a row.

B C D E F G H I L M N O R S T V W
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form