Class MySQLTreeProcessor
java.lang.Object
org.apache.cayenne.access.sqlbuilder.sqltree.SimpleNodeTreeVisitor
org.apache.cayenne.access.translator.select.TypeAwareSQLTreeProcessor
org.apache.cayenne.dba.mysql.MySQLTreeProcessor
- All Implemented Interfaces:
NodeTreeVisitor, SQLTreeProcessor
- Since:
- 4.2
-
Field Summary
Fields inherited from class TypeAwareSQLTreeProcessor
byColumnTypeProcessors, byNodeTypeProcessors, byValueTypeProcessors, DEFAULT_TYPE, DEFAULT_TYPE_NAMEModifier and TypeFieldDescriptionprotected final Map<String, ChildProcessor<ColumnNode>> protected final Map<NodeType, ChildProcessor<Node>> protected final Map<String, ChildProcessor<ValueNode>> protected static final Class<?> protected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MySQLTreeProcessorgetInstance(boolean caseInsensitiveCollations) onFunctionNode(Node parent, FunctionNode child, int index) onLikeNode(Node parent, LikeNode child, int index) onLimitOffsetNode(Node parent, LimitOffsetNode child, int index) Methods inherited from class TypeAwareSQLTreeProcessor
defaultProcess, getColumnAttribute, getColumnProcessor, getObjAttributeFor, getValueAttribute, getValueProcessor, onChildNodeStart, process, registerColumnProcessor, registerProcessor, registerValueProcessor, replaceChild, wrapInFunctionModifier and TypeMethodDescriptiondefaultProcess(Node parent, Node child, int index) protected DbAttributegetColumnAttribute(ColumnNode node) protected ChildProcessor<ColumnNode> protected static Optional<ObjAttribute> getObjAttributeFor(DbAttribute dbAttribute) protected DbAttributegetValueAttribute(ValueNode node) protected ChildProcessor<ValueNode> getValueProcessor(DbAttribute attr) booleanonChildNodeStart(Node parent, Node child, int index, boolean hasMore) protected voidregisterColumnProcessor(Class<?> columnType, ChildProcessor childProcessor) protected voidregisterProcessor(NodeType nodeType, ChildProcessor childProcessor) protected voidregisterValueProcessor(Class<?> columnType, ChildProcessor childProcessor) protected static voidreplaceChild(Node parent, int index, Node newChild) protected static NodewrapInFunction(Node node, String function) Methods inherited from class SimpleNodeTreeVisitor
onChildNodeEnd, onNodeEnd, onNodeStartModifier and TypeMethodDescriptionvoidonChildNodeEnd(Node parent, Node child, int index, boolean hasMore) voidbooleanonNodeStart(Node node)
-
Constructor Details
-
MySQLTreeProcessor
protected MySQLTreeProcessor(boolean ciCollations)
-
-
Method Details
-
getInstance
-
onLikeNode
-
onLimitOffsetNode
-
onFunctionNode
-