@Singleton
public class ExtractCodelistFactory
extends org.gcube.data.analysis.tabulardata.operation.factories.scopes.TableScopedWorkerFactory<org.gcube.data.analysis.tabulardata.operation.worker.types.ResourceCreatorWorker>
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtractCodelistFactory.ColumnMapping |
| Modifier and Type | Field and Description |
|---|---|
static org.gcube.data.analysis.tabulardata.operation.parameters.CompositeParameter |
COLUMN_DEFINITION |
static org.gcube.data.analysis.tabulardata.operation.parameters.CompositeParameter |
COLUMN_MAPPING
List of mapping SOURCE_COLUMN -> target definition, where target definition must be one of the follow:
* TARGET_CODE_COLUMN : puts values in an existing codelist (all target references must refer to the same codelist)
* NEW_COLUMN_DEFINITION : creates a new column in which to put SOURCE_COLUMN values
|
static org.gcube.data.analysis.tabulardata.operation.parameters.leaves.ColumnTypeParameter |
COLUMN_TYPE_PARAMETER |
static org.gcube.data.analysis.tabulardata.operation.parameters.leaves.TDTypeValueParameter |
DEFAULT_VALUE_PARAMETER |
static org.gcube.data.analysis.tabulardata.operation.parameters.leaves.ColumnMetadataParameter |
METADATA_PARAMETER |
static org.gcube.data.analysis.tabulardata.operation.parameters.leaves.TargetColumnParameter |
SOURCE_COLUMN |
static org.gcube.data.analysis.tabulardata.operation.parameters.leaves.TargetColumnParameter |
TARGET_CODE_COLUMN |
| Constructor and Description |
|---|
ExtractCodelistFactory(org.gcube.data.analysis.tabulardata.cube.CubeManager cubeManager,
org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProvider connectionProvider,
org.gcube.data.analysis.tabulardata.expression.evaluator.sql.SQLExpressionEvaluatorFactory sqlExpressionEvaluatorFactory) |
| Modifier and Type | Method and Description |
|---|---|
ExtractCodelist |
createWorker(org.gcube.data.analysis.tabulardata.operation.invocation.OperationInvocation invocation) |
String |
describeInvocation(org.gcube.data.analysis.tabulardata.operation.invocation.OperationInvocation invocation) |
protected String |
getOperationDescription() |
protected org.gcube.data.analysis.tabulardata.operation.OperationId |
getOperationId() |
protected String |
getOperationName() |
protected org.gcube.data.analysis.tabulardata.operation.OperationType |
getOperationType() |
protected List<org.gcube.data.analysis.tabulardata.operation.parameters.Parameter> |
getParameters() |
Class<org.gcube.data.analysis.tabulardata.operation.worker.types.ResourceCreatorWorker> |
getWorkerType() |
getOperationScopepublic static org.gcube.data.analysis.tabulardata.operation.parameters.leaves.TargetColumnParameter SOURCE_COLUMN
public static org.gcube.data.analysis.tabulardata.operation.parameters.leaves.ColumnTypeParameter COLUMN_TYPE_PARAMETER
public static org.gcube.data.analysis.tabulardata.operation.parameters.leaves.ColumnMetadataParameter METADATA_PARAMETER
public static org.gcube.data.analysis.tabulardata.operation.parameters.leaves.TDTypeValueParameter DEFAULT_VALUE_PARAMETER
public static org.gcube.data.analysis.tabulardata.operation.parameters.CompositeParameter COLUMN_DEFINITION
public static org.gcube.data.analysis.tabulardata.operation.parameters.leaves.TargetColumnParameter TARGET_CODE_COLUMN
public static org.gcube.data.analysis.tabulardata.operation.parameters.CompositeParameter COLUMN_MAPPING
@Inject
public ExtractCodelistFactory(org.gcube.data.analysis.tabulardata.cube.CubeManager cubeManager,
org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProvider connectionProvider,
org.gcube.data.analysis.tabulardata.expression.evaluator.sql.SQLExpressionEvaluatorFactory sqlExpressionEvaluatorFactory)
protected org.gcube.data.analysis.tabulardata.operation.OperationType getOperationType()
getOperationType in class org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory<org.gcube.data.analysis.tabulardata.operation.worker.types.ResourceCreatorWorker>public Class<org.gcube.data.analysis.tabulardata.operation.worker.types.ResourceCreatorWorker> getWorkerType()
protected String getOperationDescription()
getOperationDescription in class org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory<org.gcube.data.analysis.tabulardata.operation.worker.types.ResourceCreatorWorker>protected String getOperationName()
getOperationName in class org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory<org.gcube.data.analysis.tabulardata.operation.worker.types.ResourceCreatorWorker>protected org.gcube.data.analysis.tabulardata.operation.OperationId getOperationId()
getOperationId in class org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory<org.gcube.data.analysis.tabulardata.operation.worker.types.ResourceCreatorWorker>protected List<org.gcube.data.analysis.tabulardata.operation.parameters.Parameter> getParameters()
getParameters in class org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory<org.gcube.data.analysis.tabulardata.operation.worker.types.ResourceCreatorWorker>public ExtractCodelist createWorker(org.gcube.data.analysis.tabulardata.operation.invocation.OperationInvocation invocation) throws org.gcube.data.analysis.tabulardata.operation.worker.exceptions.InvalidInvocationException
org.gcube.data.analysis.tabulardata.operation.worker.exceptions.InvalidInvocationExceptionpublic String describeInvocation(org.gcube.data.analysis.tabulardata.operation.invocation.OperationInvocation invocation) throws org.gcube.data.analysis.tabulardata.operation.worker.exceptions.InvalidInvocationException
describeInvocation in interface org.gcube.data.analysis.tabulardata.operation.worker.WorkerFactory<org.gcube.data.analysis.tabulardata.operation.worker.types.ResourceCreatorWorker>describeInvocation in class org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory<org.gcube.data.analysis.tabulardata.operation.worker.types.ResourceCreatorWorker>org.gcube.data.analysis.tabulardata.operation.worker.exceptions.InvalidInvocationExceptionCopyright © 2014. All Rights Reserved.