Package io.deephaven.tablelogger
Interface Row
- All Known Subinterfaces:
TableWriter<R>
- All Known Implementing Classes:
DynamicTableWriter
public interface Row
Interface for writing out values in a row.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
For rows that are to be used with file managers that allow dynamic column partition selection, retrieve the column partition value.Gets a setter for a column.default <T> RowSetter<T>
Gets a typed setter for a column.default void
setColumnPartitionValue
(String columnPartitionValue) For rows that are to be used with file managers that allow dynamic column partition selection, set the column partition value.void
long
size()
Deprecated.void
writeRow()
Writes out a new row (values set using setters).
-
Method Details
-
getSetter
Gets a setter for a column.- Parameters:
name
- column name- Returns:
- setter for the column.
-
getSetter
Gets a typed setter for a column.- Parameters:
name
- column nametClass
- the type for the typed RowSetter- Returns:
- setter for the column.
-
writeRow
Writes out a new row (values set using setters).- Throws:
IOException
- problem writing the row
-
size
Deprecated.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.
Number of rows written out.- Returns:
- number of rows written out.
-
setFlags
-
setColumnPartitionValue
For rows that are to be used with file managers that allow dynamic column partition selection, set the column partition value.- Parameters:
columnPartitionValue
- the column partition value
-
getColumnPartitionValue
For rows that are to be used with file managers that allow dynamic column partition selection, retrieve the column partition value.- Returns:
- the previously-set column partition value
-
size()
is somewhat ambiguously specified in the interface and its implementations.