public class PageBuilder extends Object implements AutoCloseable
Constructor and Description |
---|
PageBuilder(BufferAllocator allocator,
Schema schema,
PageOutput output)
Deprecated.
The constructor is deprecated although Embulk v0.9-compatible plugins still have to use this.
See GitHub Issue #1321: Deprecate PageBuilder's constructor
for the details.
|
Modifier and Type | Method and Description |
---|---|
void |
addRecord() |
void |
close() |
void |
finish() |
void |
flush() |
Schema |
getSchema() |
void |
setBoolean(Column column,
boolean value) |
void |
setBoolean(int columnIndex,
boolean value) |
void |
setDouble(Column column,
double value) |
void |
setDouble(int columnIndex,
double value) |
void |
setJson(Column column,
org.msgpack.value.Value value) |
void |
setJson(int columnIndex,
org.msgpack.value.Value value) |
void |
setLong(Column column,
long value) |
void |
setLong(int columnIndex,
long value) |
void |
setNull(Column column) |
void |
setNull(int columnIndex) |
void |
setString(Column column,
String value) |
void |
setString(int columnIndex,
String value) |
void |
setTimestamp(Column column,
Instant value) |
void |
setTimestamp(Column column,
Timestamp value)
Deprecated.
|
void |
setTimestamp(int columnIndex,
Instant value) |
void |
setTimestamp(int columnIndex,
Timestamp value)
Deprecated.
|
@Deprecated public PageBuilder(BufferAllocator allocator, Schema schema, PageOutput output)
PageBuilder
instance.public Schema getSchema()
public void setNull(Column column)
public void setNull(int columnIndex)
public void setBoolean(Column column, boolean value)
public void setBoolean(int columnIndex, boolean value)
public void setLong(Column column, long value)
public void setLong(int columnIndex, long value)
public void setDouble(Column column, double value)
public void setDouble(int columnIndex, double value)
public void setString(int columnIndex, String value)
public void setJson(Column column, org.msgpack.value.Value value)
public void setJson(int columnIndex, org.msgpack.value.Value value)
@Deprecated public void setTimestamp(Column column, Timestamp value)
@Deprecated public void setTimestamp(int columnIndex, Timestamp value)
public void setTimestamp(int columnIndex, Instant value)
public void addRecord()
public void flush()
public void finish()
public void close()
close
in interface AutoCloseable