public final class EntityDeepJobConfig<T extends IDeepType> extends GenericDeepJobConfig<T>
initialize() after having configured all the
properties.isWriteConfig| Constructor and Description |
|---|
EntityDeepJobConfig(Class<T> entityClass,
Boolean isWriteConfig)
Public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getEntityClass() |
IDeepJobConfig<T> |
initialize() |
void |
setInstancePropertyFromDbName(T instance,
String dbName,
Object value)
Given an instance of the generic object mapped to this configurtion object,
sets the instance property whose name is the name specified by dbName.
|
void |
validate()
Validates if any of the mandatory fields have been configured or not.
|
batchSize, bisectFactor, checkInitialized, close, columnDefinitions, columnFamily, cqlPort, createOutputTableIfNeeded, createTableOnWrite, fetchTableMetadata, filterByField, getAdditionalFilters, getBatchSize, getBisectFactor, getColumnFamily, getCqlPort, getHost, getInputColumns, getIsWriteConfig, getKeyspace, getPageSize, getPartitionerClassName, getPassword, getReadConsistencyLevel, getRpcPort, getSession, getTable, getUsername, getWriteConsistencyLevel, host, inputColumns, isCreateTableOnWrite, keyspace, pageSize, partitioner, password, readConsistencyLevel, rpcPort, session, table, username, writeConsistencyLevelpublic EntityDeepJobConfig(Class<T> entityClass, Boolean isWriteConfig)
entityClass - IDeepType entity Class objectisWriteConfig - boolean specifing if the constructed object is suitable for writes.public IDeepJobConfig<T> initialize()
initialize in interface IDeepJobConfig<T extends IDeepType>initialize in class GenericDeepJobConfig<T extends IDeepType>public void validate()
GenericDeepJobConfigIllegalArgumentException if any of the mandatory
properties have not been configured.public void setInstancePropertyFromDbName(T instance, String dbName, Object value)
instance - instance object.dbName - name of the field as known by the data store.value - value to set in the property field of the provided instance object.Copyright © 2014. All rights reserved.