public interface WriteableTuple<T extends WriteableTuple<T>>
| Modifier and Type | Method and Description |
|---|---|
Representable[] |
getTypes() |
T |
setBoolean(int column,
boolean value)
Sets the specified column to a given `boolean`
|
default T |
setBytes(int column,
byte[] value)
Sets the specified column to a given `byte array`
|
T |
setDouble(int column,
double value)
Sets the specified column to a given `double`
|
T |
setFloat(int column,
float value)
Sets the specified column to a given `float`
|
T |
setInt(int column,
int value)
Sets the specified column to a given `int`
|
T |
setLong(int column,
long value)
Sets the specified column to a given `long`
|
T |
setString(int column,
java.lang.String value)
Sets the specified column to a given `String`
|
default T |
setValue(int index,
java.lang.Object value) |
Representable[] getTypes()
T setInt(int column, int value)
column - The column in the tuple to write tovalue - The int value to be writtenT setLong(int column, long value)
column - The column in the tuple to write tovalue - The long value to be writtenT setFloat(int column, float value)
column - The column in the tuple to write tovalue - The float value to be writtenT setDouble(int column, double value)
column - The column in the tuple to write tovalue - The double value to be writtenT setBoolean(int column, boolean value)
column - The column in the tuple to write tovalue - The double value to be writtenT setString(int column, java.lang.String value)
column - The column in the tuple to write tovalue - The String value to be writtendefault T setBytes(int column, byte[] value)
column - The column in the tuple to write tovalue - The byte array value to be writtendefault T setValue(int index, java.lang.Object value)