Package org.teiid.query.sql.lang
Class JsonTable
- java.lang.Object
-
- org.teiid.query.sql.lang.FromClause
-
- org.teiid.query.sql.lang.TableFunctionReference
-
- org.teiid.query.sql.lang.JsonTable
-
- All Implemented Interfaces:
Cloneable
,LanguageObject
public class JsonTable extends TableFunctionReference
Represents the JSONTABLE table function.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonTable.JsonColumn
-
Nested classes/interfaces inherited from class org.teiid.query.sql.lang.TableFunctionReference
TableFunctionReference.ProjectedColumn
-
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
-
-
Field Summary
-
Fields inherited from class org.teiid.query.sql.lang.FromClause
PRESERVE
-
-
Constructor Summary
Constructors Constructor Description JsonTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.protected JsonTable
cloneDirect()
boolean
equals(Object obj)
List<JsonTable.JsonColumn>
getColumns()
Expression
getJson()
Boolean
getNullLeaf()
String
getRowPath()
void
setColumns(List<JsonTable.JsonColumn> columns)
void
setJson(Expression json)
void
setNullLeaf(Boolean nullLeaf)
void
setRowPath(String jsonQuery)
-
Methods inherited from class org.teiid.query.sql.lang.TableFunctionReference
collectGroups, copy, getCorrelatedReferences, getGroupSymbol, getName, getOutputName, getProjectedSymbols, hashCode, setCorrelatedReferences, setName
-
Methods inherited from class org.teiid.query.sql.lang.FromClause
clone, getMakeDep, getMakeInd, hasHint, isMakeDep, isMakeNotDep, isNoUnnest, isOptional, isPreserve, setMakeDep, setMakeDep, setMakeInd, setMakeNotDep, setNoUnnest, setOptional, setPreserve, toString
-
-
-
-
Method Detail
-
getNullLeaf
public Boolean getNullLeaf()
-
setNullLeaf
public void setNullLeaf(Boolean nullLeaf)
-
getColumns
public List<JsonTable.JsonColumn> getColumns()
- Specified by:
getColumns
in classTableFunctionReference
-
setColumns
public void setColumns(List<JsonTable.JsonColumn> columns)
-
getJson
public Expression getJson()
-
setJson
public void setJson(Expression json)
-
getRowPath
public String getRowPath()
-
setRowPath
public void setRowPath(String jsonQuery)
-
acceptVisitor
public void acceptVisitor(LanguageVisitor visitor)
Description copied from interface:LanguageObject
Method for accepting a visitor. It is the responsibility of the language object to call back on the visitor.- Specified by:
acceptVisitor
in interfaceLanguageObject
- Specified by:
acceptVisitor
in classFromClause
- Parameters:
visitor
- Visitor being used
-
cloneDirect
protected JsonTable cloneDirect()
- Specified by:
cloneDirect
in classFromClause
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classTableFunctionReference
-
-