Package io.inversion.rql
Class Builder<T,P extends Builder>
java.lang.Object
io.inversion.rql.Builder<T,P>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanOVERRIDE ME TO ADD CUSTOM FUNCTIONALITY TO YOUR FLUENT APIintgetRoot()getTerms()booleanisFunction(String token) protected Tr()removeBuilder(Builder builder) toString()protected StringwithBuilder(Builder builder) withFunctions(String... tokens) withFunctions(Collection<String> tokens) withParent(P parent) OVERRIDE ME TO ADD CUSTOM FUNCTIONALITY TO YOUR FLUENT APIfinal Tfinal T
-
Field Details
-
terms
-
functions
Term tokens this builder is willing to accept -
parent
-
builders
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
addTerm
OVERRIDE ME TO ADD CUSTOM FUNCTIONALITY TO YOUR FLUENT API- Parameters:
token- the term to addterm- the token of the term- Returns:
- true if the builder or one of its child builders accepted and added the term
-
r
-
getRoot
-
getParent
-
withParent
-
getBuilders
-
withBuilder
-
removeBuilder
-
withFunctions
-
withFunctions
-
isFunction
-
clearFunctions
-
withTerm
-
withTerm
OVERRIDE ME TO ADD CUSTOM FUNCTIONALITY TO YOUR FLUENT API- Parameters:
term- the term to add to the builder- Returns:
- this
-
getTerms
-
withTerms
-
withTerm
-
parse
-
findInt
-
find
-
findAll
-
find
-
findTerm
-
toString
-
toString
-