| Modifier and Type | Method | Description |
|---|---|---|
private <R,C> void |
DbSink.createTable(com.d3x.morpheus.frame.DataFrame<R,C> frame,
DbSinkOptions<R,C> options) |
Creates the target table if it does not already exist in the database
|
private <R,C> java.util.List<DbSink.ColumnAdapter> |
DbSink.getColumnAdapters(com.d3x.morpheus.frame.DataFrame<R,C> frame,
DbSinkOptions<R,C> options) |
Returns a apply of column type info for the target table
|
private <R,C> java.lang.String |
DbSink.getCreateTableSql(com.d3x.morpheus.frame.DataFrame<R,C> frame,
DbSinkOptions<R,C> options) |
Returns the SQL DDL statement to create a table for the DataFrame specified
|
private <R,C> java.lang.String |
DbSink.getInsertSql(java.util.List<DbSink.ColumnAdapter> columnList,
DbSinkOptions<R,C> options) |
Constructs the SQL insert statement for the column list specified
|
private <R,C> void |
DbSink.insertData(com.d3x.morpheus.frame.DataFrame<R,C> frame,
DbSinkOptions<R,C> options) |
Called to insert data from the DataFrame to the target table
|
| Modifier and Type | Method | Description |
|---|---|---|
<R,C> void |
DbSink.write(com.d3x.morpheus.frame.DataFrame<R,C> frame,
java.util.function.Consumer<DbSinkOptions<R,C>> configurator) |
| Constructor | Description |
|---|---|
RowKeyAdapter(java.lang.String colName,
com.d3x.morpheus.util.sql.SQLType colType,
DbSinkOptions<R,C> options) |
Constructor
|
Copyright 2014-2018, D3X Systems