public abstract class AbstractRowBuilder<RB extends RowBuilder<?>> extends Object implements RowBuilder<RB>
RowBuilder implementation.| Constructor and Description |
|---|
AbstractRowBuilder(List<Column> columns) |
AbstractRowBuilder(Table table) |
| Modifier and Type | Method and Description |
|---|---|
protected Column[] |
getColumns() |
protected boolean[] |
getExplicitNulls()
Gets a boolean array indicating if any of the values have been explicitly
set to null (as opposed to just not set)
|
protected Style[] |
getStyles() |
protected Object[] |
getValues() |
boolean |
isSet(Column column)
Determines if a column's value has been explicitly specified or not.
|
Row |
toRow()
Gets the built record represented as a
Row object. |
RB |
value(Column column,
Object value)
Sets the value of a column
|
RB |
value(Column column,
Object value,
Style style)
Sets the value of a column
|
RB |
value(int columnIndex,
Object value)
Sets the value of a column, by column index
|
RB |
value(int columnIndex,
Object value,
Style style)
Sets the value of a column, by column index
|
RB |
value(String columnName,
Object value)
Sets the value of a column, by column name
|
RB |
value(String columnName,
Object value,
Style style)
Sets the value and the style of this value of a column, by column name
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTablepublic AbstractRowBuilder(Table table)
protected boolean[] getExplicitNulls()
protected Object[] getValues()
protected Column[] getColumns()
protected Style[] getStyles()
public final Row toRow()
RowBuilderRow object.toRow in interface RowBuilder<RB extends RowBuilder<?>>Row object as it will appear if committed and queried.public final RB value(Column column, Object value)
RowBuildervalue in interface RowBuilder<RB extends RowBuilder<?>>public RB value(Column column, Object value, Style style)
RowBuildervalue in interface RowBuilder<RB extends RowBuilder<?>>public RB value(int columnIndex, Object value)
RowBuildervalue in interface RowBuilder<RB extends RowBuilder<?>>public final RB value(int columnIndex, Object value, Style style)
RowBuildervalue in interface RowBuilder<RB extends RowBuilder<?>>public RB value(String columnName, Object value)
RowBuildervalue in interface RowBuilder<RB extends RowBuilder<?>>public final RB value(String columnName, Object value, Style style)
RowBuildervalue in interface RowBuilder<RB extends RowBuilder<?>>public boolean isSet(Column column)
RowBuilderisSet in interface RowBuilder<RB extends RowBuilder<?>>column - the column to checkCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.