org.apache.jackrabbit.oak.jcr.query.qom
Class JoinImpl

java.lang.Object
  extended by org.apache.jackrabbit.oak.jcr.query.qom.SourceImpl
      extended by org.apache.jackrabbit.oak.jcr.query.qom.JoinImpl
All Implemented Interfaces:
javax.jcr.query.qom.Join, javax.jcr.query.qom.Source

public class JoinImpl
extends SourceImpl
implements javax.jcr.query.qom.Join

The implementation of the corresponding JCR interface.


Constructor Summary
JoinImpl(SourceImpl left, SourceImpl right, JoinType joinType, JoinConditionImpl joinCondition)
           
 
Method Summary
 JoinConditionImpl getJoinCondition()
           
 String getJoinType()
           
 SourceImpl getLeft()
           
 SourceImpl getRight()
           
protected  String protect(Object expression)
           
protected  String quoteColumnName(String name)
           
protected  String quoteNodeTypeName(String name)
           
protected  String quotePath(String path)
           
protected  String quotePropertyName(String name)
           
protected  String quoteSelectorName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JoinImpl

public JoinImpl(SourceImpl left,
                SourceImpl right,
                JoinType joinType,
                JoinConditionImpl joinCondition)
Method Detail

getJoinCondition

public JoinConditionImpl getJoinCondition()
Specified by:
getJoinCondition in interface javax.jcr.query.qom.Join

getJoinType

public String getJoinType()
Specified by:
getJoinType in interface javax.jcr.query.qom.Join

getLeft

public SourceImpl getLeft()
Specified by:
getLeft in interface javax.jcr.query.qom.Join

getRight

public SourceImpl getRight()
Specified by:
getRight in interface javax.jcr.query.qom.Join

toString

public String toString()
Overrides:
toString in class Object

protect

protected String protect(Object expression)

quotePath

protected String quotePath(String path)

quoteSelectorName

protected String quoteSelectorName(String name)

quotePropertyName

protected String quotePropertyName(String name)

quoteColumnName

protected String quoteColumnName(String name)

quoteNodeTypeName

protected String quoteNodeTypeName(String name)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.