Search in sources :

Example 21 with DataSourceScanOperator

use of org.apache.hyracks.algebricks.core.algebra.operators.logical.DataSourceScanOperator in project asterixdb by apache.

the class LogicalOperatorDeepCopyWithNewVariablesVisitor method visitDataScanOperator.

@Override
public ILogicalOperator visitDataScanOperator(DataSourceScanOperator op, ILogicalOperator arg) throws AlgebricksException {
    DataSourceScanOperator opCopy = new DataSourceScanOperator(deepCopyVariableList(op.getVariables()), op.getDataSource());
    deepCopyInputsAnnotationsAndExecutionMode(op, arg, opCopy);
    return opCopy;
}
Also used : DataSourceScanOperator(org.apache.hyracks.algebricks.core.algebra.operators.logical.DataSourceScanOperator)

Aggregations

DataSourceScanOperator (org.apache.hyracks.algebricks.core.algebra.operators.logical.DataSourceScanOperator)21 AbstractLogicalOperator (org.apache.hyracks.algebricks.core.algebra.operators.logical.AbstractLogicalOperator)13 ILogicalExpression (org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression)12 LogicalVariable (org.apache.hyracks.algebricks.core.algebra.base.LogicalVariable)12 ILogicalOperator (org.apache.hyracks.algebricks.core.algebra.base.ILogicalOperator)11 ArrayList (java.util.ArrayList)8 DataSource (org.apache.asterix.metadata.declared.DataSource)8 AssignOperator (org.apache.hyracks.algebricks.core.algebra.operators.logical.AssignOperator)8 AbstractFunctionCallExpression (org.apache.hyracks.algebricks.core.algebra.expressions.AbstractFunctionCallExpression)7 Dataset (org.apache.asterix.metadata.entities.Dataset)6 ARecordType (org.apache.asterix.om.types.ARecordType)6 IAType (org.apache.asterix.om.types.IAType)6 Mutable (org.apache.commons.lang3.mutable.Mutable)6 VariableReferenceExpression (org.apache.hyracks.algebricks.core.algebra.expressions.VariableReferenceExpression)6 List (java.util.List)5 DatasetDataSource (org.apache.asterix.metadata.declared.DatasetDataSource)5 AString (org.apache.asterix.om.base.AString)5 AlgebricksException (org.apache.hyracks.algebricks.common.exceptions.AlgebricksException)5 FunctionIdentifier (org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier)5 UnnestMapOperator (org.apache.hyracks.algebricks.core.algebra.operators.logical.UnnestMapOperator)5