public abstract class SqlNodeBase extends AnnotationsBase implements SqlNode
Constructor and Description |
---|
SqlNodeBase(String aliasName) |
Modifier and Type | Method and Description |
---|---|
SqlCoalesce |
asCoalesce() |
com.hp.hpl.jena.sdb.core.sqlnode.SqlDistinct |
asDistinct() |
SqlJoinInner |
asInnerJoin() |
SqlJoin |
asJoin() |
SqlJoinLeftOuter |
asLeftJoin() |
SqlProject |
asProject() |
SqlRestrict |
asRestrict() |
SqlSelectBlock |
asSelectBlock() |
SqlTable |
asTable() |
String |
getAliasName() |
boolean |
isCoalesce() |
boolean |
isDistinct() |
boolean |
isInnerJoin() |
boolean |
isJoin() |
boolean |
isLeftJoin() |
boolean |
isProject() |
boolean |
isRestrict() |
boolean |
isSelectBlock() |
boolean |
isTable() |
void |
output(IndentedWriter out) |
void |
output(IndentedWriter out,
boolean withAnnotations) |
Set<SqlTable> |
tablesInvolved() |
String |
toString() |
boolean |
usesColumn(SqlColumn c) |
addNote, addNotes, getNotes, hasNotes, hasOneNote
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIdScope, getNodeScope, visit
addNote, addNotes, getNotes, hasNotes, hasOneNote
public SqlNodeBase(String aliasName)
public boolean isInnerJoin()
isInnerJoin
in interface SqlNode
public boolean isLeftJoin()
isLeftJoin
in interface SqlNode
public SqlJoinLeftOuter asLeftJoin()
asLeftJoin
in interface SqlNode
public SqlJoinInner asInnerJoin()
asInnerJoin
in interface SqlNode
public boolean isRestrict()
isRestrict
in interface SqlNode
public SqlRestrict asRestrict()
asRestrict
in interface SqlNode
public SqlProject asProject()
public boolean isDistinct()
isDistinct
in interface SqlNode
public com.hp.hpl.jena.sdb.core.sqlnode.SqlDistinct asDistinct()
asDistinct
in interface SqlNode
public boolean isCoalesce()
isCoalesce
in interface SqlNode
public SqlCoalesce asCoalesce()
asCoalesce
in interface SqlNode
public boolean isSelectBlock()
isSelectBlock
in interface SqlNode
public SqlSelectBlock asSelectBlock()
asSelectBlock
in interface SqlNode
public void output(IndentedWriter out)
public void output(IndentedWriter out, boolean withAnnotations)
public boolean usesColumn(SqlColumn c)
public final String getAliasName()
getAliasName
in interface SqlNode
public Set<SqlTable> tablesInvolved()
tablesInvolved
in interface SqlNode
Licenced under the Apache License, Version 2.0