public class OnlyPartitionKeyEqualVisitor extends Object implements FunctionVisitor<Boolean>
TODO: more filters if BatchWriteBuilder
supports predicate.
Constructor and Description |
---|
OnlyPartitionKeyEqualVisitor(List<String> partitionKeys) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
partitions() |
Boolean |
visitAnd(List<Boolean> children) |
Boolean |
visitContains(FieldRef fieldRef,
Object literal) |
Boolean |
visitEndsWith(FieldRef fieldRef,
Object literal) |
Boolean |
visitEqual(FieldRef fieldRef,
Object literal) |
Boolean |
visitGreaterOrEqual(FieldRef fieldRef,
Object literal) |
Boolean |
visitGreaterThan(FieldRef fieldRef,
Object literal) |
Boolean |
visitIn(FieldRef fieldRef,
List<Object> literals) |
Boolean |
visitIsNotNull(FieldRef fieldRef) |
Boolean |
visitIsNull(FieldRef fieldRef) |
Boolean |
visitLessOrEqual(FieldRef fieldRef,
Object literal) |
Boolean |
visitLessThan(FieldRef fieldRef,
Object literal) |
Boolean |
visitNotEqual(FieldRef fieldRef,
Object literal) |
Boolean |
visitNotIn(FieldRef fieldRef,
List<Object> literals) |
Boolean |
visitOr(List<Boolean> children) |
Boolean |
visitStartsWith(FieldRef fieldRef,
Object literal) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visit, visit
public Boolean visitIsNotNull(FieldRef fieldRef)
visitIsNotNull
in interface FunctionVisitor<Boolean>
public Boolean visitIsNull(FieldRef fieldRef)
visitIsNull
in interface FunctionVisitor<Boolean>
public Boolean visitStartsWith(FieldRef fieldRef, Object literal)
visitStartsWith
in interface FunctionVisitor<Boolean>
public Boolean visitEndsWith(FieldRef fieldRef, Object literal)
visitEndsWith
in interface FunctionVisitor<Boolean>
public Boolean visitContains(FieldRef fieldRef, Object literal)
visitContains
in interface FunctionVisitor<Boolean>
public Boolean visitLessThan(FieldRef fieldRef, Object literal)
visitLessThan
in interface FunctionVisitor<Boolean>
public Boolean visitGreaterOrEqual(FieldRef fieldRef, Object literal)
visitGreaterOrEqual
in interface FunctionVisitor<Boolean>
public Boolean visitNotEqual(FieldRef fieldRef, Object literal)
visitNotEqual
in interface FunctionVisitor<Boolean>
public Boolean visitLessOrEqual(FieldRef fieldRef, Object literal)
visitLessOrEqual
in interface FunctionVisitor<Boolean>
public Boolean visitEqual(FieldRef fieldRef, Object literal)
visitEqual
in interface FunctionVisitor<Boolean>
public Boolean visitGreaterThan(FieldRef fieldRef, Object literal)
visitGreaterThan
in interface FunctionVisitor<Boolean>
public Boolean visitIn(FieldRef fieldRef, List<Object> literals)
visitIn
in interface FunctionVisitor<Boolean>
public Boolean visitNotIn(FieldRef fieldRef, List<Object> literals)
visitNotIn
in interface FunctionVisitor<Boolean>
public Boolean visitAnd(List<Boolean> children)
visitAnd
in interface FunctionVisitor<Boolean>
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.