NodeFactory<T>public class StandardNodeFactory<T> extends Object implements NodeFactory<T>
| Constructor | Description |
|---|---|
StandardNodeFactory(Adapter<T> runtime) |
public Node<T> createCurrent()
createCurrent in interface NodeFactory<T>public Node<T> createSequence(List<Node<T>> nodes)
createSequence in interface NodeFactory<T>public Node<T> createProperty(String name)
createProperty in interface NodeFactory<T>public Node<T> createIndex(int index)
createIndex in interface NodeFactory<T>public Node<T> createSlice(Integer start, Integer stop, Integer step)
createSlice in interface NodeFactory<T>public Node<T> createProjection(Expression<T> expression)
createProjection in interface NodeFactory<T>public Node<T> createFlattenArray()
createFlattenArray in interface NodeFactory<T>public Node<T> createFlattenObject()
createFlattenObject in interface NodeFactory<T>public Node<T> createSelection(Expression<T> test)
createSelection in interface NodeFactory<T>public Node<T> createComparison(Operator operator, Expression<T> left, Expression<T> right)
createComparison in interface NodeFactory<T>public Node<T> createOr(Expression<T> left, Expression<T> right)
createOr in interface NodeFactory<T>public Node<T> createAnd(Expression<T> left, Expression<T> right)
createAnd in interface NodeFactory<T>public Node<T> createFunctionCall(String functionName, List<? extends Expression<T>> args)
createFunctionCall in interface NodeFactory<T>public Node<T> createFunctionCall(Function function, List<? extends Expression<T>> args)
createFunctionCall in interface NodeFactory<T>public Node<T> createExpressionReference(Expression<T> expression)
createExpressionReference in interface NodeFactory<T>public Node<T> createString(String str)
createString in interface NodeFactory<T>public Node<T> createNegate(Expression<T> negated)
createNegate in interface NodeFactory<T>public Node<T> createCreateObject(List<CreateObjectNode.Entry<T>> entries)
createCreateObject in interface NodeFactory<T>public Node<T> createCreateArray(List<? extends Expression<T>> entries)
createCreateArray in interface NodeFactory<T>public Node<T> createJsonLiteral(String json)
createJsonLiteral in interface NodeFactory<T>Copyright © 2016–2019. All rights reserved.