public abstract class AbstractRowBuilder<RB extends RowBuilder<?>> extends Object implements RowBuilder<RB>
RowBuilder
implementation.Constructor and Description |
---|
AbstractRowBuilder(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, wait
getTable
public AbstractRowBuilder(Table table)
public AbstractRowBuilder(Column[] columns)
protected boolean[] getExplicitNulls()
protected Object[] getValues()
protected Column[] getColumns()
protected Style[] getStyles()
public final Row toRow()
RowBuilder
Row
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)
RowBuilder
value
in interface RowBuilder<RB extends RowBuilder<?>>
public RB value(Column column, Object value, Style style)
RowBuilder
value
in interface RowBuilder<RB extends RowBuilder<?>>
public RB value(int columnIndex, Object value)
RowBuilder
value
in interface RowBuilder<RB extends RowBuilder<?>>
public final RB value(int columnIndex, Object value, Style style)
RowBuilder
value
in interface RowBuilder<RB extends RowBuilder<?>>
public RB value(String columnName, Object value)
RowBuilder
value
in interface RowBuilder<RB extends RowBuilder<?>>
public final RB value(String columnName, Object value, Style style)
RowBuilder
value
in interface RowBuilder<RB extends RowBuilder<?>>
public boolean isSet(Column column)
RowBuilder
isSet
in interface RowBuilder<RB extends RowBuilder<?>>
column
- the column to checkCopyright © 2007–2014 The Apache Software Foundation. All rights reserved.