Package com.illumon.iris.binarystore
Interface Record
- All Known Subinterfaces:
Entry
,TableWriter<R>
- All Known Implementing Classes:
AbstractBinaryStoreWriter
,ArrayBackedTableWriter
,BinaryRecordV2
,BinaryStoreAggregatorWriterMultiPartition
,BinaryStoreAggregatorWriterStandard
,BinaryStoreWriterV2
,DiskTableWriter
,DynamicTableWriter
,HybridWriter
,InMemoryTableWriter
,InMemoryTableWriter
,LocalTableWriter
,RowOrientedArrayBackedTableWriter
,StreamTableWriter
public interface Record
Interface for writing out a binary store v2 record entry.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Record.RecordSetter<T extends RecordData>
Setter specialization for RecordData. -
Method Summary
Modifier and Type Method Description default Record.RecordSetter<RecordData>
getRecordSetter()
Gets a record setter for an entry.<T extends RecordData>
Record.RecordSetter<T>getRecordSetter(Class<T> tClass)
Gets a typed record setter for an entry.void
writeRecord(WritableByteChannel channel)
Write a record entry to the provided output channel.
-
Method Details
-
getRecordSetter
Gets a record setter for an entry.- Returns:
- setter for the record.
-
getRecordSetter
Gets a typed record setter for an entry.- Returns:
- setter for the record.
-
writeRecord
Write a record entry to the provided output channel. The implementor is responsible for providing the data buffer.- Throws:
IOException
-