Class AppendableTableRow
java.lang.Object
com.illumon.iris.db.tables.appendable.AppendableTableRow
- All Implemented Interfaces:
Row
public class AppendableTableRow extends Object implements Row
Row implementation for use by table writers that write via appendable tables.
Does not support buffering more than a single outstanding row, since the appendable columns themselves tend to handle
block-oriented writing internally.
Requires external synchronization for correct concurrent use.
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description AppendableTableRow(AppendableTable table) -
Method Summary
Methods 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, getSetter, setColumnPartitionValue
-
Constructor Details
-
Method Details
-
getSetter
Description copied from interface:RowGets a setter for a column. -
getFlags
-
setFlags
-
writeRow
Description copied from interface:RowWrites out a new row (values set using setters).- Specified by:
writeRowin interfaceRow- Throws:
IOException- problem writing the row
-
size
public long size()Unsupported.
Row.size()is somewhat ambiguously specified in the interface and its implementations. Some implementations keep track of all rows written. Others keep track of number of rows buffered.It seems safer to simply not allow the question to be asked, as this implementation is only intended to hold a row's data while it's still being assembled.
- Specified by:
sizein interfaceRow- Returns:
- n/a
- Throws:
UnsupportedOperationException- In all cases, as this method is unsupported
-