| Package | Description |
|---|---|
| net.fortytwo.stream.caching |
| Modifier and Type | Method and Description |
|---|---|
<T> Bindings<T> |
Query.QueryVariables.bind(VariableOrConstant<String,T>[] pattern,
T[] tuple)
Finds the set of bindings created by pairing the variables in the given pattern with the corresponding
elements of the given tuple
|
static <T> Bindings<T> |
Bindings.from(Bindings<T> first,
Bindings<T> second)
Creates or returns a set of bindings which contains both sets of arguments.
|
Bindings<T> |
SolutionGroup.getBindings()
Gets the bindings of this solution group
|
Bindings<T> |
Solution.getBindings()
Gets the variables bindings of this solution
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Bindings.compatibleWith(Bindings<T> other,
Query.QueryVariables vars)
Finds whether these bindings are compatible with another set of bindings.
|
static <T> Bindings<T> |
Bindings.from(Bindings<T> first,
Bindings<T> second)
Creates or returns a set of bindings which contains both sets of arguments.
|
static <T> Bindings<T> |
Bindings.from(Bindings<T> first,
Bindings<T> second)
Creates or returns a set of bindings which contains both sets of arguments.
|
void |
SolutionIndex.joinSolutions(Solution<T> matchedSolution,
Bindings<T> bindings,
Stack<Solution<T>> solutions,
long now)
Finds the result of joining composable combinations of an original solution together with all
unexpired solutions containing any of a provided set of bindings.
|
void |
Solution.setBindings(Bindings<T> bindings)
Sets the variable bindings of this solution.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
QueryIndex.add(T[] tuple,
java.util.function.BiConsumer<C,Bindings<T>> handler,
int ttl,
long now)
Consumes a tuple and matches it against any and all applicable queries,
possibly producing one or more solutions.
|
| Constructor and Description |
|---|
Solution(int totalPatterns,
int index,
Bindings<T> bindings,
long expirationTime)
Constructs a solution in which a single tuple pattern of a graph pattern has been matched
|
Solution(Solution<T> other,
int index,
Bindings<T> newBindings) |
SolutionGroup(Bindings<T> bindings)
Creates a new solution group for a set of bindings
|
Copyright © 2016. All Rights Reserved.