Class KafkaPartitionScanSpecBuilder
java.lang.Object
org.apache.drill.common.expression.visitors.AbstractExprVisitor<List<KafkaPartitionScanSpec>,Void,RuntimeException>
org.apache.drill.exec.store.kafka.KafkaPartitionScanSpecBuilder
- All Implemented Interfaces:
AutoCloseable
,ExprVisitor<List<KafkaPartitionScanSpec>,
Void, RuntimeException>
public class KafkaPartitionScanSpecBuilder
extends AbstractExprVisitor<List<KafkaPartitionScanSpec>,Void,RuntimeException>
implements AutoCloseable
-
Constructor Summary
ConstructorDescriptionKafkaPartitionScanSpecBuilder
(KafkaGroupScan groupScan, LogicalExpression conditionExp) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
visitBooleanOperator
(BooleanOperator op, Void value) visitFunctionCall
(FunctionCall call, Void value) visitUnknown
(LogicalExpression e, Void value) Handles implementation-specific expressions not known to the visitor structure.Methods inherited from class org.apache.drill.common.expression.visitors.AbstractExprVisitor
visitAnyValueExpression, visitBooleanConstant, visitCastExpression, visitConvertExpression, visitDateConstant, visitDecimal18Constant, visitDecimal28Constant, visitDecimal38Constant, visitDecimal9Constant, visitDoubleConstant, visitFloatConstant, visitFunctionHolderExpression, visitIfExpression, visitIntConstant, visitIntervalDayConstant, visitIntervalYearConstant, visitLongConstant, visitNullConstant, visitNullExpression, visitParameter, visitQuotedStringConstant, visitSchemaPath, visitTimeConstant, visitTimeStampConstant, visitTypedFieldExpr, visitVarDecimalConstant
-
Constructor Details
-
KafkaPartitionScanSpecBuilder
-
-
Method Details
-
parseTree
-
visitUnknown
Description copied from class:AbstractExprVisitor
Handles implementation-specific expressions not known to the visitor structure. Since there are no "visitFoo" methods for these "unknown" expressions, subclassses should use the functionally-equivalentinstanceof
approach to parse out these "unknown" expressions.- Specified by:
visitUnknown
in interfaceExprVisitor<List<KafkaPartitionScanSpec>,
Void, RuntimeException> - Overrides:
visitUnknown
in classAbstractExprVisitor<List<KafkaPartitionScanSpec>,
Void, RuntimeException>
-
visitBooleanOperator
- Specified by:
visitBooleanOperator
in interfaceExprVisitor<List<KafkaPartitionScanSpec>,
Void, RuntimeException> - Overrides:
visitBooleanOperator
in classAbstractExprVisitor<List<KafkaPartitionScanSpec>,
Void, RuntimeException>
-
visitFunctionCall
- Specified by:
visitFunctionCall
in interfaceExprVisitor<List<KafkaPartitionScanSpec>,
Void, RuntimeException> - Overrides:
visitFunctionCall
in classAbstractExprVisitor<List<KafkaPartitionScanSpec>,
Void, RuntimeException>
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-