Class BigQueryCharExpr
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLExprImpl
-
- com.alibaba.druid.sql.ast.expr.SQLTextLiteralExpr
-
- com.alibaba.druid.sql.ast.expr.SQLCharExpr
-
- com.alibaba.druid.sql.dialect.bigquery.ast.BigQueryCharExpr
-
- All Implemented Interfaces:
SQLLiteralExpr,SQLValuableExpr,SQLExpr,SQLObject,BigQueryObject,Cloneable,Comparable<SQLCharExpr>
public class BigQueryCharExpr extends SQLCharExpr implements SQLExpr, BigQueryObject
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.expr.SQLCharExpr
collate, DATA_TYPE
-
Fields inherited from class com.alibaba.druid.sql.ast.expr.SQLTextLiteralExpr
text
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
parenthesized, parenthesizedCount
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description BigQueryCharExpr()BigQueryCharExpr(String text, String prefix)BigQueryCharExpr(String text, String prefix, boolean space, boolean isAlias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(BigQueryVisitor v)voidaccept0(SQLASTVisitor v)BigQueryCharExprclone()List<SQLObject>getChildren()StringgetPrefix()booleanhasPrefix()booleanisAlias()booleanisSpace()voidsetAlias(boolean alias)voidsetPrefix(String prefix)voidsetSpace(boolean space)-
Methods inherited from class com.alibaba.druid.sql.ast.expr.SQLCharExpr
compareTo, computeDataType, getCollate, getValue, output, setCollate, toDate, toDateTime, toString, toTimestamp
-
Methods inherited from class com.alibaba.druid.sql.ast.expr.SQLTextLiteralExpr
equals, getText, hashCode, setText
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
cloneTo, getParenthesizedCount, increaseParenthesizedCount, isParenthesized, setParenthesized, setParenthesizedCount
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, putAttribute, setHint, setParent, setSource, setSourceLine
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLExpr
computeDataType, getHint
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-
-
-
Method Detail
-
hasPrefix
public boolean hasPrefix()
-
setPrefix
public void setPrefix(String prefix)
-
getPrefix
public String getPrefix()
-
isSpace
public boolean isSpace()
-
setSpace
public void setSpace(boolean space)
-
isAlias
public boolean isAlias()
-
setAlias
public void setAlias(boolean alias)
-
accept0
public void accept0(BigQueryVisitor v)
- Specified by:
accept0in interfaceBigQueryObject
-
accept0
public void accept0(SQLASTVisitor v)
- Specified by:
accept0in interfaceBigQueryObject- Overrides:
accept0in classSQLCharExpr
-
getChildren
public List<SQLObject> getChildren()
- Specified by:
getChildrenin interfaceSQLExpr- Overrides:
getChildrenin classSQLCharExpr
-
clone
public BigQueryCharExpr clone()
- Specified by:
clonein interfaceSQLExpr- Specified by:
clonein interfaceSQLLiteralExpr- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLCharExpr
-
-