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
public class RowOrientedArrayBackedTableWriter extends ArrayBackedTableWriter
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
-
Constructor Summary
Constructors Constructor Description RowOrientedArrayBackedTableWriter(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, supportAllTypes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.binarystore.Row
getColumnPartitionValue, setColumnPartitionValue
Methods inherited from interface com.illumon.iris.binarystore.TableWriter
flushDeferredRows, getRecordSetter, getRecordSetter, getRecordWriter, getSetter, writeDeferredRow, writeRecord
-
Constructor Details
-
Method Details
-
writeRow
public void writeRow()Description copied from interface:TableWriter
Writes out a new row (values set using setters).The implementation is likely to delegate to
Row.writeRow()
in a default Row instance.- Specified by:
writeRow
in interfaceRow
- Specified by:
writeRow
in interfaceTableWriter
- Overrides:
writeRow
in classArrayBackedTableWriter
-
getSetter
Description copied from interface:TableWriter
Gets a setter for a column.The implementation is likely to delegate to
Row.getSetter(String)
in a default Row instance.- Specified by:
getSetter
in interfaceRow
- Specified by:
getSetter
in interfaceTableWriter
- Overrides:
getSetter
in classArrayBackedTableWriter
- Parameters:
name
- column name- Returns:
- setter for the column.
-
getRowWriter
Description copied from interface:TableWriter
Get 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:
getRowWriter
in interfaceTableWriter
- Overrides:
getRowWriter
in classArrayBackedTableWriter
- Returns:
- a Row, likely newly created
-