org.gcube.data.analysis.tabulardata.operation.column.typechange
Class ChangeColumnTypeTransformationFactory

java.lang.Object
  extended by org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory
      extended by org.gcube.data.analysis.tabulardata.operation.factories.types.ColumnTransformationWorkerFactory
          extended by org.gcube.data.analysis.tabulardata.operation.column.typechange.ChangeColumnTypeTransformationFactory
All Implemented Interfaces:
org.gcube.data.analysis.tabulardata.operation.factories.scopes.ColumnScopedWorkerFactory, org.gcube.data.analysis.tabulardata.operation.worker.WorkerFactory
Direct Known Subclasses:
ChangeToAttributeColumnFactory, DefaultColumnTypeTransformationFactory

public abstract class ChangeColumnTypeTransformationFactory
extends org.gcube.data.analysis.tabulardata.operation.factories.types.ColumnTransformationWorkerFactory


Field Summary
protected  org.gcube.data.analysis.tabulardata.cube.CubeManager cubeManager
           
 
Constructor Summary
ChangeColumnTypeTransformationFactory(org.gcube.data.analysis.tabulardata.cube.CubeManager cubeManager)
           
 
Method Summary
protected  void checkInvocation(org.gcube.data.analysis.tabulardata.operation.worker.OperationInvocation invocation)
           
protected abstract  List<org.gcube.data.analysis.tabulardata.operation.parameters.Parameter> createParameters(org.gcube.data.analysis.tabulardata.model.column.Column targetColumn)
           
protected abstract  List<Class<? extends org.gcube.data.analysis.tabulardata.model.column.ColumnType>> getAllowedSourceColumnTypes()
           
 org.gcube.data.analysis.tabulardata.operation.worker.EligibleOperation getEligibleOperation(org.gcube.data.analysis.tabulardata.model.table.TableId tableId, org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId)
           
protected abstract  org.gcube.data.analysis.tabulardata.model.column.ColumnType getManagedColumnType()
           
protected  String getOperationDescription()
           
protected  String getOperationName()
           
 
Methods inherited from class org.gcube.data.analysis.tabulardata.operation.factories.types.ColumnTransformationWorkerFactory
getOperationScope, getOperationType
 
Methods inherited from class org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory
checkColumnIdPresence, checkParameterValue, checkTableIdPresence, getOperationDescriptor, getOperationId, getParameterValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gcube.data.analysis.tabulardata.operation.worker.WorkerFactory
createWorker, getOperationDescriptor
 

Field Detail

cubeManager

protected org.gcube.data.analysis.tabulardata.cube.CubeManager cubeManager
Constructor Detail

ChangeColumnTypeTransformationFactory

public ChangeColumnTypeTransformationFactory(org.gcube.data.analysis.tabulardata.cube.CubeManager cubeManager)
Method Detail

getEligibleOperation

public org.gcube.data.analysis.tabulardata.operation.worker.EligibleOperation getEligibleOperation(org.gcube.data.analysis.tabulardata.model.table.TableId tableId,
                                                                                                   org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId)
                                                                                            throws org.gcube.data.analysis.tabulardata.operation.worker.exceptions.OperationNotEligibleException
Throws:
org.gcube.data.analysis.tabulardata.operation.worker.exceptions.OperationNotEligibleException

getOperationName

protected String getOperationName()
Specified by:
getOperationName in class org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory

getOperationDescription

protected String getOperationDescription()
Specified by:
getOperationDescription in class org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory

getManagedColumnType

protected abstract org.gcube.data.analysis.tabulardata.model.column.ColumnType getManagedColumnType()

createParameters

protected abstract List<org.gcube.data.analysis.tabulardata.operation.parameters.Parameter> createParameters(org.gcube.data.analysis.tabulardata.model.column.Column targetColumn)

getAllowedSourceColumnTypes

protected abstract List<Class<? extends org.gcube.data.analysis.tabulardata.model.column.ColumnType>> getAllowedSourceColumnTypes()

checkInvocation

protected void checkInvocation(org.gcube.data.analysis.tabulardata.operation.worker.OperationInvocation invocation)
                        throws org.gcube.data.analysis.tabulardata.operation.worker.exceptions.InvalidInvocationException
Throws:
org.gcube.data.analysis.tabulardata.operation.worker.exceptions.InvalidInvocationException


Copyright © 2013. All Rights Reserved.