public static class StoreOperation.Builder extends Object
Modifier and Type | Method and Description |
---|---|
StoreOperation |
build() |
Collection<String> |
getColumns() |
Collection<Row> |
getRows() |
String |
getTableName() |
StoreOperation.Builder |
withColumnDescriptions(Collection<? extends ColumnDescription> columns)
Add the names & order of the columns to be inserted.
|
StoreOperation.Builder |
withColumns(Collection<String> columnNames)
Add the names & order of the columns to be inserted.
|
StoreOperation.Builder |
withRows(Collection<Row> rows) |
public Builder(String tableName)
public StoreOperation.Builder withColumns(Collection<String> columnNames)
columnNames
- The names of the columns to insert, and an implicit order.public StoreOperation.Builder withColumnDescriptions(Collection<? extends ColumnDescription> columns)
columns
- The ColumnDescriptions that contain a column name and an implicit order.public StoreOperation.Builder withRows(Collection<Row> rows)
public String getTableName()
public Collection<Row> getRows()
public Collection<String> getColumns()
public StoreOperation build()
Copyright © 2016. All rights reserved.