Package com.illumon.iris.db.v2.utils
Class RowOrientedArrayBackedTableWriter
java.lang.Object
com.illumon.iris.db.v2.utils.ArrayBackedTableWriter
com.illumon.iris.db.v2.utils.RowOrientedArrayBackedTableWriter
- All Implemented Interfaces:
Entry,Record,Row,TableWriter
A row-oriented version of ArrayBackedTableWriter.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.binarystore.Record
Record.RecordSetter<T extends RecordData> -
Field Summary
Fields inherited from class com.illumon.iris.db.v2.utils.ArrayBackedTableWriter
sourcesFields inherited from interface com.illumon.iris.binarystore.TableWriter
NULL_SETTER -
Constructor Summary
ConstructorsConstructorDescriptionRowOrientedArrayBackedTableWriter(TableDefinition definition) RowOrientedArrayBackedTableWriter(String[] columnNames, Class<?>[] columnTypes) -
Method Summary
Methods inherited from class com.illumon.iris.db.v2.utils.ArrayBackedTableWriter
close, flush, getColumnNames, getColumnTypes, getQueryTable, setFlags, setNextRowIndex, setUpdateIndex, startNewTable, startNewTable, supportAllTypesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.binarystore.Row
getColumnPartitionValue, setColumnPartitionValueMethods inherited from interface com.illumon.iris.binarystore.TableWriter
flushDeferredRows, getRecordSetter, getRecordSetter, getRecordWriter, getSetter, writeDeferredRow, writeRecord
-
Constructor Details
-
RowOrientedArrayBackedTableWriter
-
RowOrientedArrayBackedTableWriter
-
-
Method Details
-
writeRow
public void writeRow()Description copied from interface:TableWriterWrites out a new row (values set using setters).The implementation is likely to delegate to
Row.writeRow()in a default Row instance.- Specified by:
writeRowin interfaceRow- Specified by:
writeRowin interfaceTableWriter- Overrides:
writeRowin classArrayBackedTableWriter
-
getSetter
Description copied from interface:TableWriterGets a setter for a column.The implementation is likely to delegate to
Row.getSetter(String)in a default Row instance.- Specified by:
getSetterin interfaceRow- Specified by:
getSetterin interfaceTableWriter- Overrides:
getSetterin classArrayBackedTableWriter- Parameters:
name- column name- Returns:
- setter for the column.
-
getRowWriter
Description copied from interface:TableWriterGet a writer for a Row entries. This is likely to be newly created, so callers should cache this value. In practice, TableWriter implementations generally cache the result of the first call to this method as a primary writer.- Specified by:
getRowWriterin interfaceTableWriter- Overrides:
getRowWriterin classArrayBackedTableWriter- Returns:
- a Row, likely newly created
-