public static interface SearchArgument.Builder
Modifier and Type | Method and Description |
---|---|
SearchArgument.Builder |
between(String column,
PredicateLeaf.Type type,
Object lower,
Object upper)
Add a between leaf to the current item on the stack.
|
SearchArgument |
build()
Build and return the SearchArgument that has been defined.
|
SearchArgument.Builder |
end()
Finish the current operation and pop it off of the stack.
|
SearchArgument.Builder |
equals(String column,
PredicateLeaf.Type type,
Object literal)
Add an equals leaf to the current item on the stack.
|
SearchArgument.Builder |
in(String column,
PredicateLeaf.Type type,
Object... literal)
Add an in leaf to the current item on the stack.
|
SearchArgument.Builder |
isNull(String column,
PredicateLeaf.Type type)
Add an is null leaf to the current item on the stack.
|
SearchArgument.Builder |
lessThan(String column,
PredicateLeaf.Type type,
Object literal)
Add a less than leaf to the current item on the stack.
|
SearchArgument.Builder |
lessThanEquals(String column,
PredicateLeaf.Type type,
Object literal)
Add a less than equals leaf to the current item on the stack.
|
SearchArgument.Builder |
literal(SearchArgument.TruthValue truth)
Add a truth value to the expression.
|
SearchArgument.Builder |
nullSafeEquals(String column,
PredicateLeaf.Type type,
Object literal)
Add a null safe equals leaf to the current item on the stack.
|
SearchArgument.Builder |
startAnd()
Start building an and operation and push it on the stack.
|
SearchArgument.Builder |
startNot()
Start building a not operation and push it on the stack.
|
SearchArgument.Builder |
startOr()
Start building an or operation and push it on the stack.
|
SearchArgument.Builder startOr()
SearchArgument.Builder startAnd()
SearchArgument.Builder startNot()
SearchArgument.Builder end()
SearchArgument.Builder lessThan(String column, PredicateLeaf.Type type, Object literal)
column
- the name of the columntype
- the type of the expressionliteral
- the literalSearchArgument.Builder lessThanEquals(String column, PredicateLeaf.Type type, Object literal)
column
- the name of the columntype
- the type of the expressionliteral
- the literalSearchArgument.Builder equals(String column, PredicateLeaf.Type type, Object literal)
column
- the name of the columntype
- the type of the expressionliteral
- the literalSearchArgument.Builder nullSafeEquals(String column, PredicateLeaf.Type type, Object literal)
column
- the name of the columntype
- the type of the expressionliteral
- the literalSearchArgument.Builder in(String column, PredicateLeaf.Type type, Object... literal)
column
- the name of the columntype
- the type of the expressionliteral
- the literalSearchArgument.Builder isNull(String column, PredicateLeaf.Type type)
column
- the name of the columntype
- the type of the expressionSearchArgument.Builder between(String column, PredicateLeaf.Type type, Object lower, Object upper)
column
- the name of the columntype
- the type of the expressionlower
- the literalupper
- the literalSearchArgument.Builder literal(SearchArgument.TruthValue truth)
truth
- SearchArgument build()
Copyright © 2016 The Apache Software Foundation. All rights reserved.