A B C D E F G I M N O P R S T V W 

A

add(Class<A>, Class<B>, Function1<DataFrameValue<R, C>, B>) - Method in class com.d3x.morpheus.db.DbSinkOptions.ColumnMappings
Adds a mapping between a DataFrame column type and the approprivate JDBC type
apply(PreparedStatement, int, DataFrameRow<R, C>) - Method in class com.d3x.morpheus.db.DbSink.ColumnAdapter
Applies a parameter value to the SQL PreparedStatement
apply(PreparedStatement, int, DataFrameRow<R, C>) - Method in class com.d3x.morpheus.db.DbSink.RowKeyAdapter
 
apply(PreparedStatement, int, DataFrameRow<R, C>) - Method in class com.d3x.morpheus.db.DbSink.ValueAdapter
 
apply(ResultSet) - Method in class com.d3x.morpheus.db.DbSource.ColumnInfo
Applies the ResultSet to this column for current row
array - Variable in class com.d3x.morpheus.db.DbSource.ColumnInfo
 
autoCommit - Variable in class com.d3x.morpheus.db.DbSourceOptions
 
autoIncrementColumnName - Variable in class com.d3x.morpheus.db.DbSinkOptions
 

B

batchSize - Variable in class com.d3x.morpheus.db.DbSinkOptions
 

C

close(AutoCloseable) - Method in class com.d3x.morpheus.db.DbSource
Safely closes the JDBC resource
colName - Variable in class com.d3x.morpheus.db.DbSink.ColumnAdapter
 
colType - Variable in class com.d3x.morpheus.db.DbSink.ColumnAdapter
 
ColumnAdapter(String, SQLType) - Constructor for class com.d3x.morpheus.db.DbSink.ColumnAdapter
Constructor
ColumnInfo(int, int, String, int, SQLExtractor) - Constructor for class com.d3x.morpheus.db.DbSource.ColumnInfo
Constructor
columnMappings - Variable in class com.d3x.morpheus.db.DbSinkOptions
 
ColumnMappings() - Constructor for class com.d3x.morpheus.db.DbSinkOptions.ColumnMappings
Constructor
columnNames - Variable in class com.d3x.morpheus.db.DbSinkOptions
 
com.d3x.morpheus.db - package com.d3x.morpheus.db
 
connection - Variable in class com.d3x.morpheus.db.DbSinkOptions
 
connection - Variable in class com.d3x.morpheus.db.DbSourceOptions
 
createFrame(Iterable<R>, List<DbSource.ColumnInfo>) - Method in class com.d3x.morpheus.db.DbSource
Returns a newly created DataFrame from the arguments specified
createTable(DataFrame<R, C>, DbSinkOptions<R, C>) - Method in class com.d3x.morpheus.db.DbSink
Creates the target table if it does not already exist in the database
cursor - Variable in class com.d3x.morpheus.db.DbSink.ValueAdapter
 

D

DbSink - Class in com.d3x.morpheus.db
A DataFrameSink implementation that writes DataFrames to a SQL database table.
DbSink() - Constructor for class com.d3x.morpheus.db.DbSink
Constructor
DbSink.ColumnAdapter<R,C> - Class in com.d3x.morpheus.db
A convenience base class for building an adapter that maps DataFrame content to a SQL column of a well defined type
DbSink.RowKeyAdapter<R,C> - Class in com.d3x.morpheus.db
A ColumnAdapter implementation that applies a row key from a DataFrameRow to the INSERT PreparedStatement
DbSink.ValueAdapter<R,C> - Class in com.d3x.morpheus.db
A ColumnAdapter implementation that applies a value extracted from a DataFrameRow to the INSERT PreparedStatement
DbSinkOptions<R,C> - Class in com.d3x.morpheus.db
A class that defines all the options that can be configured to write a DataFrame to a SQL data store.
DbSinkOptions() - Constructor for class com.d3x.morpheus.db.DbSinkOptions
Constructor
DbSinkOptions.ColumnMappings - Class in com.d3x.morpheus.db
A class that maintains a mapping between a DataFrame column type and a JDBC column type
DbSource - Class in com.d3x.morpheus.db
A DataFrameSource designed to handle read DataFrames from a SQL data store
DbSource() - Constructor for class com.d3x.morpheus.db.DbSource
Constructor
DbSource.ColumnInfo - Class in com.d3x.morpheus.db
A class used to capture the meta-data for a column
DbSourceOptions<R> - Class in com.d3x.morpheus.db
A DataFrameRequest used to load a DataFrame from a SQL Database.
DbSourceOptions() - Constructor for class com.d3x.morpheus.db.DbSourceOptions
Constructor

E

excludeColumnSet - Variable in class com.d3x.morpheus.db.DbSourceOptions
 
extractor - Variable in class com.d3x.morpheus.db.DbSource.ColumnInfo
 
extractorMap - Variable in class com.d3x.morpheus.db.DbSourceOptions
 

F

fetchSize - Variable in class com.d3x.morpheus.db.DbSourceOptions
 

G

getAutoIncrementColumnName() - Method in class com.d3x.morpheus.db.DbSinkOptions
Returns the optional column name for the auto increment field
getBatchSize() - Method in class com.d3x.morpheus.db.DbSinkOptions
Returns the batch size for inserts
getColumnAdapters(DataFrame<R, C>, DbSinkOptions<R, C>) - Method in class com.d3x.morpheus.db.DbSink
Returns a apply of column type info for the target table
getColumnInfo(ResultSetMetaData, SQLPlatform, DbSourceOptions<R>) - Method in class com.d3x.morpheus.db.DbSource
Returns the array of column information from the result-set meta-data
getColumnMappings() - Method in class com.d3x.morpheus.db.DbSinkOptions
Returns the column mappings for these options
getColumnNames() - Method in class com.d3x.morpheus.db.DbSinkOptions
Returns the function that yield column names for DataFrame column keys
getConnection() - Method in class com.d3x.morpheus.db.DbSinkOptions
Returns the connection for these options
getConnection() - Method in class com.d3x.morpheus.db.DbSourceOptions
Returns the connection for this request
getCreateTableSql(DataFrame<R, C>, DbSinkOptions<R, C>) - Method in class com.d3x.morpheus.db.DbSink
Returns the SQL DDL statement to create a table for the DataFrame specified
getExcludeColumnSet() - Method in class com.d3x.morpheus.db.DbSourceOptions
Returns the set of columns to exclude
getExtractors() - Method in class com.d3x.morpheus.db.DbSourceOptions
Returns the apply of extractors for this request
getFetchSize() - Method in class com.d3x.morpheus.db.DbSourceOptions
Returns the statement fetch size for queries
getInsertSql(List<DbSink.ColumnAdapter>, DbSinkOptions<R, C>) - Method in class com.d3x.morpheus.db.DbSink
Constructs the SQL insert statement for the column list specified
getMapper(Class<?>) - Method in class com.d3x.morpheus.db.DbSinkOptions.ColumnMappings
Returns the mapper function to transform DataFrame type into SQL type
getParameters() - Method in class com.d3x.morpheus.db.DbSourceOptions
Returns the parameters for this request
getPlatform() - Method in class com.d3x.morpheus.db.DbSinkOptions
Returns the SQL platform for these options
getPlatform(ResultSet) - Method in class com.d3x.morpheus.db.DbSource
Returns the database platform type from the ResultSet
getRowCapacity() - Method in class com.d3x.morpheus.db.DbSourceOptions
Returns the initial row capacity to size the resulting DataFrame
getRowKeyColumn() - Method in class com.d3x.morpheus.db.DbSinkOptions
Returns the column name to store DataFrame row keys in
getRowKeyFunction() - Method in class com.d3x.morpheus.db.DbSourceOptions
Returns the row key generating function for this request
getRowKeyMapper() - Method in class com.d3x.morpheus.db.DbSinkOptions
Returns the mapper that maps row keys to the appropriate JDBC type
getRowKeySqlClass() - Method in class com.d3x.morpheus.db.DbSinkOptions
Returns the SQL type to apply row keys to
getSql() - Method in class com.d3x.morpheus.db.DbSourceOptions
Returns the SQL query for this request
getSqlType(Class<?>) - Method in class com.d3x.morpheus.db.DbSinkOptions.ColumnMappings
Returns the SQL type for the DataFrame type
getSqlTypeString(Class<?>) - Method in class com.d3x.morpheus.db.DbSink
Returns the SQL type string for a CREATE TABLE statement
getTableName() - Method in class com.d3x.morpheus.db.DbSinkOptions
Returns the table name to write to

I

index - Variable in class com.d3x.morpheus.db.DbSource.ColumnInfo
 
insertData(DataFrame<R, C>, DbSinkOptions<R, C>) - Method in class com.d3x.morpheus.db.DbSink
Called to insert data from the DataFrame to the target table
isAutoCommit() - Method in class com.d3x.morpheus.db.DbSourceOptions
Returns the connection auto commit preference
isReadOnly() - Method in class com.d3x.morpheus.db.DbSourceOptions
Returns the connection read only setting

M

mapper - Variable in class com.d3x.morpheus.db.DbSink.ValueAdapter
 
mapperMap - Variable in class com.d3x.morpheus.db.DbSinkOptions.ColumnMappings
 

N

name - Variable in class com.d3x.morpheus.db.DbSource.ColumnInfo
 

O

ordinal - Variable in class com.d3x.morpheus.db.DbSource.ColumnInfo
 

P

parameters - Variable in class com.d3x.morpheus.db.DbSourceOptions
 
platform - Variable in class com.d3x.morpheus.db.DbSinkOptions
 

R

read(ResultSet, DbSourceOptions<R>) - Method in class com.d3x.morpheus.db.DbSource
Reads all data from the sql ResultSet into a Morpheus DataFrame
read(Consumer<DbSourceOptions<R>>) - Method in class com.d3x.morpheus.db.DbSource
 
readOnly - Variable in class com.d3x.morpheus.db.DbSourceOptions
 
rowCapacity - Variable in class com.d3x.morpheus.db.DbSourceOptions
 
RowKeyAdapter(String, SQLType, DbSinkOptions<R, C>) - Constructor for class com.d3x.morpheus.db.DbSink.RowKeyAdapter
Constructor
rowKeyClass - Variable in class com.d3x.morpheus.db.DbSink.RowKeyAdapter
 
rowKeyColumn - Variable in class com.d3x.morpheus.db.DbSinkOptions
 
rowKeyFunction - Variable in class com.d3x.morpheus.db.DbSourceOptions
 
rowKeyMapper - Variable in class com.d3x.morpheus.db.DbSink.RowKeyAdapter
 
rowKeyMapper - Variable in class com.d3x.morpheus.db.DbSinkOptions
 
rowKeySqlClass - Variable in class com.d3x.morpheus.db.DbSinkOptions
 
rowKeyType - Variable in class com.d3x.morpheus.db.DbSink.RowKeyAdapter
 

S

setAutoIncrementColumnName(String) - Method in class com.d3x.morpheus.db.DbSinkOptions
Sets the name of an auto increment column name if one exists in the table
setBatchSize(int) - Method in class com.d3x.morpheus.db.DbSinkOptions
Sets the batch size for write operations
setColumnMappings(Consumer<DbSinkOptions.ColumnMappings>) - Method in class com.d3x.morpheus.db.DbSinkOptions
Sets the column mappings for these options
setColumnNames(Function<C, String>) - Method in class com.d3x.morpheus.db.DbSinkOptions
Sets the column name generating function
setConnection(String, String, String) - Method in class com.d3x.morpheus.db.DbSinkOptions
Sets the JDBC connection URL and optional credentials This method should ideally only be used for testing, a connection pool is preferable for production
setConnection(Connection) - Method in class com.d3x.morpheus.db.DbSinkOptions
Sets the JDBC connection for this request
setConnection(DataSource) - Method in class com.d3x.morpheus.db.DbSinkOptions
Sets the JDBC data source for this request
setPlatform(SQLPlatform) - Method in class com.d3x.morpheus.db.DbSinkOptions
Sets the target SQL platform for these options
setRowKeyMapping(String, Class<T>, Function1<R, T>) - Method in class com.d3x.morpheus.db.DbSinkOptions
Sets the row key mapping for these database options
setTableName(String) - Method in class com.d3x.morpheus.db.DbSinkOptions
Sets the target table name to write to
sql - Variable in class com.d3x.morpheus.db.DbSourceOptions
 
sqlTypeMap - Static variable in class com.d3x.morpheus.db.DbSink
 
sqlTypeMap - Variable in class com.d3x.morpheus.db.DbSinkOptions.ColumnMappings
 

T

tableName - Variable in class com.d3x.morpheus.db.DbSinkOptions
 
toString() - Method in class com.d3x.morpheus.db.DbSink.ColumnAdapter
 
type - Variable in class com.d3x.morpheus.db.DbSource.ColumnInfo
 
typeCode - Variable in class com.d3x.morpheus.db.DbSource.ColumnInfo
 

V

validate() - Method in class com.d3x.morpheus.db.DbSourceOptions
 
ValueAdapter(String, SQLType, DataFrameCursor<R, C>, Function1<DataFrameValue<R, C>, ?>) - Constructor for class com.d3x.morpheus.db.DbSink.ValueAdapter
Constructor

W

withAutoCommit(boolean) - Method in class com.d3x.morpheus.db.DbSourceOptions
Sets the connection auto commit state
withConnection(String, String, String) - Method in class com.d3x.morpheus.db.DbSourceOptions
Sets the JDBC connection URL and optional credentials This method should ideally only be used for testing, a connection pool is preferable for production
withConnection(Connection) - Method in class com.d3x.morpheus.db.DbSourceOptions
Sets the JDBC connection for this request
withConnection(DataSource) - Method in class com.d3x.morpheus.db.DbSourceOptions
Sets the JDBC connection for this request
withExcludeColumns(String...) - Method in class com.d3x.morpheus.db.DbSourceOptions
Sets the names of columns not to include in the resulting DataFrame
withExtractor(String, SQLExtractor) - Method in class com.d3x.morpheus.db.DbSourceOptions
Sets the extractor to use for the column name
withFetchSize(int) - Method in class com.d3x.morpheus.db.DbSourceOptions
Sets the fetch size for the statement when executing queries
withParameters(Object...) - Method in class com.d3x.morpheus.db.DbSourceOptions
Sets the parameters for the SQL expression
withReadOnly(boolean) - Method in class com.d3x.morpheus.db.DbSourceOptions
Sets the connection read only setting
withRowCapacity(int) - Method in class com.d3x.morpheus.db.DbSourceOptions
Sets the initial row capacity to size the DataFrame
withRowKeyFunction(Function<ResultSet, R>) - Method in class com.d3x.morpheus.db.DbSourceOptions
Sets the row key function for this request
withSql(String) - Method in class com.d3x.morpheus.db.DbSourceOptions
Sets the SQL query for this request
write(DataFrame<R, C>, Consumer<DbSinkOptions<R, C>>) - Method in class com.d3x.morpheus.db.DbSink
 
A B C D E F G I M N O P R S T V W 
Skip navigation links

Copyright 2014-2018, D3X Systems