Uses of Class
gudusoft.gsqlparser.TSourceToken
Packages that use TSourceToken
Package
Description
Provides the class
TGSqlParser necessary to create a SQL Parser and the classes a SQL Parser uses
internally to handle different SQL dialects.Provides the classes represents various SQL query parse tree node.
Provides the classes represent various SQL statements.
-
Uses of TSourceToken in Unnamed Package
Methods in Unnamed Package with parameters of type TSourceTokenModifier and TypeMethodDescriptionstatic voiddemo.printNodeEndWithThisToken(TSourceToken st) static voiddemo.printNodeStartWithThisToken(TSourceToken st) -
Uses of TSourceToken in gudusoft.gsqlparser
Fields in gudusoft.gsqlparser declared as TSourceTokenMethods in gudusoft.gsqlparser that return TSourceTokenModifier and TypeMethodDescriptionTSourceToken.clone()TSourceTokenList.get(int index) TSourceToken.getLinkToken()Gets the linked token.TSourceToken.getNextTokenInChain()TSourceToken.getPrevTokenInChain()TSourceToken.getReplaceToken()Used in sql formatter package onlyTSourceTokenList.next()TSourceTokenList.nextsolidtoken(int ptokenpos, int pstep, boolean pcmtissolidtoken) Find solid token start from ptoken, distance is pstep.TSourceTokenList.nextsolidtoken(TSourceToken ptoken, int pstep, boolean pcmtissolidtoken) Find solid token start from ptoken, distance is pstep.TSourceToken.nextSolidToken()The next token whosetokentypeis not ttreturn,ttwhitespace,ttsimplecomment and ttbracketedcomment.TSourceToken.nextSolidToken(boolean treatCommentAsSolidToken) The next token whosetokentypeis not ttreturn,ttwhitespace,ttsimplecomment and ttbracketedcomment.TSourceToken.nextSolidToken(int pstep) TSourceToken.nextToken()TSourceToken.prevSolidToken()The previous token whosetokentypeis not ttreturn,ttwhitespace,ttsimplecomment and ttbracketedcomment.TSourceToken.prevSolidToken(boolean treatCommentAsSolidToken) The previous token whosetokentypeis not ttreturn,ttwhitespace,ttsimplecomment and ttbracketedcommentTSourceToken.searchToken(int targetTokenCode, int range) TSourceToken.searchToken(int targetTokenCode, int range, int stopTokenCode, boolean stopAtSemiColon) Search a token before or after this token in the same source token list.TSourceToken.searchToken(String targetTokenText, int range) TSourceToken.searchToken(String targetTokenText, int range, int stopTokenCode, boolean stopAtSemiColon) Search a token before or after this token in the same source token list.TSourceTokenList.searchToken(int targetTokenCode, String targetTokenText, TSourceToken startToken, int range) TSourceTokenList.searchToken(int targetTokenCode, String targetTokenText, TSourceToken startToken, int range, int stopTokenCode, boolean stopAtSemiColon) TSourceToken.searchTokenAfterObjectName()Search the first non-solid token after the next objectName.TSourceToken.searchTokenAtTheEndOfSameLine()TSourceTokenList.solidtokenbefore(int pStart) Search solid token before pStart.Methods in gudusoft.gsqlparser with parameters of type TSourceTokenModifier and TypeMethodDescriptionvoidTSourceTokenList.add(int index, TSourceToken st) voidTSourceTokenList.add(TSourceToken st) voidTSourceToken.appendText(TSourceToken st) TLexerTeradata.cmdType(TSourceToken token) static voidTSourceToken.concatInChain(TSourceToken st1, TSourceToken st2) TBaseType.getArrayListBetweenTokens(TSourceToken startToken, TSourceToken endToken, boolean includeNonSolidToken) return an array list in text between ( and ), which is start token and end token, like this: ( option1=value1, option2=value2, option3=values ) the result is an array like this:
option1=value1
option2=value2
option3=value3intTSourceTokenList.indexOf(TSourceToken pst) voidTSourceToken.insertANewTokenAfterMe(TSourceToken newToken) voidTSourceToken.insertANewTokenBeforeMe(TSourceToken newToken) voidTSourceToken.insertText(TSourceToken st) static voidTBaseType.log(String message, int type, TSourceToken token) TSourceTokenList.nextsolidtoken(TSourceToken ptoken, int pstep, boolean pcmtissolidtoken) Find solid token start from ptoken, distance is pstep.booleanITokenHandle.processToken(TSourceToken st) voidTSourceTokenList.remove(TSourceToken st) TSourceTokenList.searchToken(int targetTokenCode, String targetTokenText, TSourceToken startToken, int range) TSourceTokenList.searchToken(int targetTokenCode, String targetTokenText, TSourceToken startToken, int range, int stopTokenCode, boolean stopAtSemiColon) voidTSourceTokenList.set(int index, TSourceToken st) voidTSourceToken.setLinkToken(TSourceToken linkToken) Create a link between two tokens.voidTSourceToken.setNextTokenInChain(TSourceToken nextTokenInChain) voidTSourceToken.setPrevTokenInChain(TSourceToken prevTokenInChain) voidTSourceToken.setReplaceToken(TSourceToken replaceToken) Used in sql formatter package onlyvoidTCustomLexer.setTokenTableValue(TSourceToken token) intTCustomLexer.yylexwrap(TSourceToken psourcetoken) Constructors in gudusoft.gsqlparser with parameters of type TSourceTokenModifierConstructorDescriptionTSyntaxError(TSourceToken pSt, String hint, EErrorType errortype, int errorno, TCustomSqlStatement sql) -
Uses of TSourceToken in gudusoft.gsqlparser.dlineage.dataflow.model
Methods in gudusoft.gsqlparser.dlineage.dataflow.model that return TSourceTokenMethods in gudusoft.gsqlparser.dlineage.dataflow.model with parameters of type TSourceTokenModifier and TypeMethodDescriptionvoidTransform.setEndToken(TSourceToken endToken) voidTransform.setStartToken(TSourceToken startToken) -
Uses of TSourceToken in gudusoft.gsqlparser.nodes
Fields in gudusoft.gsqlparser.nodes declared as TSourceTokenModifier and TypeFieldDescriptionTColumnReference.sourcetokenTTableReference.sourcetokenTDummy.st1TDummy.st2TDummy.st3Fields in gudusoft.gsqlparser.nodes with type parameters of type TSourceTokenMethods in gudusoft.gsqlparser.nodes that return TSourceTokenModifier and TypeMethodDescriptionTGroupBy.getALL()Gets the ALL token for GROUP BY ALL syntax.TExpression.getAndOrTokenBeforeExpr()TAliasClause.getAsToken()TObjectName.getAtsign()TConstant.getBind1()TConstant.getBind2()TTrimArgument.getBoth_trailing_leading()TGroupBy.getBY()TCollectStatisticsSqlNode.getColumn_or_index()TObjectName.getColumnToken()It's the same asTObjectName.getPartToken()ifTObjectName.getDbObjectType()isEDbObjectType.columnTObjectName.getCommentString()TCreateTableOption.getCommentToken()Deprecated.TExpression.getComparisonOperator()TCreateDatabaseSqlNode.getDatabase()TObjectName.getDatabaseToken()The database part of this objectName: [server.][database.][schema.]objectTCreateTableOption.getDateRetentionInDays()TDeleteSqlNode.getDeleteToken()TDescribeSqlNode.getDescToken()TDropSchemaSqlNode.getDropBehavior()TIndirection.getEndToken()TJoinList.getEndToken()TParseTreeNode.getEndToken()The last token of the nodeTParseTreeNodeList.getEndToken()TPTNodeList.getEndToken()TResultColumnList.getEndToken()TObjectName.getExclamationmark()TFunctionCall.getExtract_time_token()one of the YEAR/MONTH/DAY, HOUR/MINUTE/SECOND keywords in extract functionTCopySqlNode.getFilename()TIntoClause.getFilename()TKeepDenseRankClause.getFirstLast()TConstant.getFractionalSecondsPrecision()the number of digits in the fractional part of the SECOND datetime field in a interval day to second constant.TExpression.getFractionalSecondsPrecision()TGroupBy.getGROUP()TGroupBy.getHAVING()TInsertSqlNode.getIgnore()TConstant.getIndicator()TInsertSqlNode.getInsertToken()TConstant.getLeadingPrecision()the maximum number of digits in the leading field of a interval constant.TExpression.getLeadingPrecision()TExecuteAsSqlNode.getLoginToken()TObjectName.getMethodToken()TAlterTableOption.getMySQLIndexTypeToken()MySQL, unique, fulltext or spatial keyword used in add key/index clause when option type isEAlterTableOptionType.AddConstraintIndexTExecuteAsSqlNode.getNameToken()TExpression.getNotToken()TColumnReference.getObjectToken()TObjectName.getObjectToken()The object part of this objectName such as table name, view name.TRelationExpr.getOnly()TExpression.getOperatorToken()Operator token used in expression such as +,-,*,/ and etcTCreateTableSqlNode.getOptionEndParenthesis()TCreateTableSqlNode.getOptionStartParenthesis()TObjectName.getPackageToken()Oracle package nameTObjectName.getPartToken()The column name of this objectName ifTObjectName.getDbObjectType()isEDbObjectType.column.TTableSample.getPercent()TInsertSqlNode.getPriority_delayed()TObjectName.getPropertyToken()TExpression.getQuantifier()one of the following quantifier keywords: SOME, ANY, ALLTOpenQuery.getQueryToken()TPathSqlNode.getRootDirectory()TUnloadSqlNode.getS3()TObjectName.getSchemaToken()The schema name of this objectName.TUnloadSqlNode.getSelectStmt()TSelectSqlNode.getSelectToken()TObjectName.getServerToken()The server part of this objectName: [server.][database.][schema.]objectTConstant.getSign()The '+' or '-' before this constant.TConstant.getSignToken()TExpression.getSourcetokenOperand()TIndirection.getStartToken()TParseTreeNode.getStartToken()The first token in this parse tree nodeTParseTreeNodeList.getStartToken()TPTNodeList.getStartToken()TResultColumnList.getStartToken()In teradata, the whole result column can be null, so this result column should be ingored when get start token in result column list.TCreateViewSqlNode.getStForce()TCreateViewSqlNode.getStReplace()TObjectName.getTableToken()The table name of this objectName, it's the same value asTObjectName.getObjectToken()ifTObjectName.getDbObjectType()isEDbObjectType.tableTOpenDatasource.getTableToken()TMySQLIndexStorageType.getTypeToken()TUpdateSqlNode.getUpdateToken()TConstant.getValueToken()The value of this constant represented by a source token.TColumnDefinition.getXmlTableColumnPath()Oracle, path of xml table columnTXmlTableParameter.getXQueryString()TParseTreeNode.next()Methods in gudusoft.gsqlparser.nodes that return types with arguments of type TSourceTokenModifier and TypeMethodDescriptionTConstant.getIntervalValueTokens()TExpression.getOperatorTokens()Operator token used in expression which contains multiple operator tokens such as SIMILAR TO , IS DISTINCT FROM and etc added since v3.0.8.6Methods in gudusoft.gsqlparser.nodes with parameters of type TSourceTokenModifier and TypeMethodDescriptionvoidTCreateTableSqlNode.addTableOptionByToken(TSourceToken st, ECreateTableOption createTableOption) voidTParseTreeNode.addToTokenChain(TSourceToken anchorToken, boolean beforeAnchorToken) voidTAlterTableOption.adjustOptionByToken(TSourceToken st) TNodeFactory.createColumnReference(TSourceToken objectname) TNodeFactory.createConstant(TSourceToken st, ENodeType ent) static TExpressionTExpression.createExpression(EDbVendor dbVendor, EExpressionType pExpressionType, TSourceToken pOperatorToken, TExpression pLeft, TExpression pRight) static TExpressionTExpression.createExpression(EDbVendor dbVendor, EExpressionType pExpressionType, TSourceToken pOperatorToken, TObjectName pLeft, TConstant pRight) static TExpressionTExpression.createExpression(EDbVendor dbVendor, EExpressionType pExpressionType, TSourceToken pOperatorToken, TObjectName pLeft, TObjectName pRight) TNodeFactory.createObjectName(EDbObjectType dbObjectType, TSourceToken schema, TSourceToken object, TSourceToken part) TNodeFactory.createObjectName(TSourceToken schema, TSourceToken object, TSourceToken part) create a database object with schema, object and part name, type of this object will be determined later in the context where it appears.static TObjectNameTObjectName.createObjectName(EDbVendor dbVendor, EDbObjectType dbObjectType, TSourceToken token1) static TObjectNameTObjectName.createObjectName(EDbVendor dbVendor, EDbObjectType dbObjectType, TSourceToken token1, TSourceToken token2) static TObjectNameTObjectName.createObjectName(EDbVendor dbVendor, EDbObjectType dbObjectType, TSourceToken token1, TSourceToken token2, TSourceToken token3) static TObjectNameTObjectName.createObjectName(EDbVendor dbVendor, EDbObjectType dbObjectType, TSourceToken token1, TSourceToken token2, TSourceToken token3, TSourceToken token4) TNodeFactory.createObjectNameWithObject(TSourceToken object) TNodeFactory.createObjectNameWithPart(TSourceToken part) TNodeFactory.createObjectNameWithPartAndObject(TSourceToken object, TSourceToken part) TNodeFactory.createObjectNameWithType(EDbObjectType dbObjectType, TSourceToken part) TNodeFactory.createObjectNameWithType(EDbObjectType dbObjectType, TSourceToken object, TSourceToken part) TNodeFactory.createObjectNameWithType(EDbObjectType dbObjectType, TSourceToken schema, TSourceToken object, TSourceToken part) TNodeFactory.createSimpleExpression(TSourceToken st) static EAlterTableOptionTypeTAlterTableOption.getAlterTableOptionTypeByToken(TSourceToken st) static EComparisonTypeTExpression.getComparisonType(TSourceToken comparisonOperator) static EDeclareTypeTDeclareSqlNode.getDeclareTypeByToken(TSourceToken st) voidTParseTreeNode.insertAfterAToken(TSourceToken anchorToken) booleanTObjectName.isAttributeNameInObjectName(TSourceToken leftparen, TSourceToken rightparen) protected intTParseTreeNode.removeAllMyTokensFromTokenList(TSourceToken additionalToken) Deprecated.since v1.8.8.0, use scriptWriter technology to modify the nodestatic voidTParseTreeNode.removeTokensBetweenToken(TSourceToken startToken, TSourceToken endToken) both begin and end token will be removed from the chainstatic EDataTypeAttributeTDatatypeAttribute.searchDataTypeAttributeByName(TSourceToken st1, TSourceToken st2) voidTGroupBy.setALL(TSourceToken ALL) Sets the ALL token for GROUP BY ALL syntax.voidTAliasClause.setAsToken(TSourceToken asToken) voidTObjectName.setAtsign(TSourceToken atsign) voidTConstant.setBind1(TSourceToken bind1) voidTConstant.setBind2(TSourceToken bind2) voidTGroupBy.setBY(TSourceToken BY) voidTTypeName.setCharsetNameByToken(TSourceToken st) voidTTypeName.setCharUnit(TSourceToken st) voidTCreateFunctionSqlNode.setClassNameByToken(TSourceToken st) voidTConstraint.setClusteredToken(TSourceToken clusteredToken) voidTCreateIndexSqlNode.setClusteredToken(TSourceToken st) voidTColumnDefinition.setColumnPath(TSourceToken columnPath) voidTObjectName.setCommentString(TSourceToken commentString) voidTCreateTableOption.setCommentToken(TSourceToken commentToken) voidTExpression.setComparisonOperator(TSourceToken comparisonOperator) voidTCreateDatabaseSqlNode.setDatabase(TSourceToken database) voidTObjectName.setDatabaseToken(TSourceToken databaseToken) voidTObjectName.setDatabaseToken(TSourceToken databaseToken, boolean implicit) voidTOpenDatasource.setDatabaseToken(TSourceToken databaseToken) voidTFileFormatSqlNode.setDataCompressionByToken(TSourceToken st) voidTTypeName.setDataTypeByToken(TSourceToken st) voidTCreateTableOption.setDateRetentionInDays(TSourceToken dateRetentionInDays) voidTDeleteSqlNode.setDeleteToken(TSourceToken deleteToken) voidTDescribeSqlNode.setDescToken(TSourceToken descToken) voidTDropSchemaSqlNode.setDropBehavior(TSourceToken dropBehavior) voidTDropTableSqlNode.setDropBehavior(TSourceToken st) voidTAlterTableOption.setDropRestrictType(TSourceToken st) voidTDropIndexSqlNode.setDropRestrictType(TSourceToken st) voidTCreateTableOption.setEncoding(TSourceToken encoding) voidTParseTreeNode.setEndToken(TSourceToken newEndToken) voidTParseTreeNode.setEndTokenDirectly(TSourceToken newEndToken) voidTObjectName.setExclamationmark(TSourceToken exclamationmark) voidTFunctionCall.setExtract_time_token(TSourceToken extract_time_token) set one of the YEAR/MONTH/DAY, HOUR/MINUTE/SECOND keyword in extract functionvoidTFileFormatSqlNode.setFileFormatByToken(TSourceToken st) voidTCreateTableOption.setFileFormatName(TSourceToken fileFormatName) voidTCreateTableOption.setFileFormatType(TSourceToken fileFormatType) voidTConstant.setFractionalSecondsPrecision(TSourceToken fractionalSecondsPrecision) set the fractional precision which is the number of digits in the fractional part of the SECOND datetime field in a interval day to second constant.voidTExpression.setFractionalSecondsPrecision(TSourceToken fractionalSecondsPrecision) voidTGroupBy.setGROUP(TSourceToken GROUP) voidTGroupBy.setHAVING(TSourceToken HAVING) voidTInsertSqlNode.setIgnore(TSourceToken ignore) voidTCreateIndexSqlNode.setIndexTypeViaToken(TSourceToken st) voidTConstant.setIndicator(TSourceToken indicator) voidTInsertSqlNode.setInsertAllOrFirst(TSourceToken st) voidTInsertSqlNode.setInsertToken(TSourceToken insertToken) voidTConstant.setLeadingPrecision(TSourceToken leadingPrecision) set the precision which is the maximum number of digits in the leading field of a interval constant.voidTExpression.setLeadingPrecision(TSourceToken leadingPrecision) voidTExpression.setLeftUnary(TSourceToken st) voidTConstant.setLiteralType(TSourceToken st) voidTObjectName.setMethodToken(TSourceToken methodToken) voidTAlterTableOption.setMySQLIndexTypeToken(TSourceToken mySQLIndexTypeToken) voidTExpression.setNotToken(TSourceToken notToken) voidTOrderByItem.setNullOrder(TSourceToken nullOrder) voidTObjectName.setObjectToken(TSourceToken objectToken) voidTRelationExpr.setOnly(TSourceToken only) voidTExpression.setOperatorToken(TSourceToken operatorToken) voidTCreateTableSqlNode.setOptionEndParenthesis(TSourceToken optionEndParenthesis) voidTCreateTableSqlNode.setOptionStartParenthesis(TSourceToken optionStartParenthesis) voidTInsertSqlNode.setOverwrite(TSourceToken overwrite) voidTObjectName.setPackageToken(TSourceToken packageToken) voidTObjectName.setPartToken(TSourceToken partToken) voidTJsonTable.setPath(TSourceToken path) voidTInsertSqlNode.setPriority_delayed(TSourceToken priority_delayed) voidTObjectName.setPropertyToken(TSourceToken propertyToken) voidTExpression.setQuantifier(TSourceToken quantifier) voidTCreateTableSqlNode.setReadWritableByToken(TSourceToken st) voidTCreateViewSqlNode.setRecursive(TSourceToken st) voidTExpression.setRightUnary(TSourceToken st) voidTObjectName.setSchemaToken(TSourceToken schemaToken) voidTObjectName.setSchemaToken(TSourceToken schemaToken, boolean implicit) voidTOpenDatasource.setSchemaToken(TSourceToken schemaToken) voidTCreateViewSqlNode.setSecure(TSourceToken st) voidTSelectSqlNode.setSelectToken(TSourceToken selectToken) voidTObjectName.setServerToken(TSourceToken serverToken) voidTSelectSqlNode.setSetOperator(TSourceToken st1, TSourceToken st2) voidTConstant.setSign(TSourceToken sign) The '+' or '-' before this constant.voidTConstant.setSignToken(TSourceToken signToken) voidTOrderByItem.setSortTypeByToken(TSourceToken st) voidTExpression.setSourcetokenOperand(TSourceToken sourcetokenOperand) voidTParseTreeNode.setStartToken(TSourceToken newStartToken) voidTParseTreeNode.setStartTokenDirectly(TSourceToken newStartToken) voidTCreateViewSqlNode.setStForce(TSourceToken stForce) voidTCreateViewSqlNode.setStReplace(TSourceToken stReplace) voidTCreateTableSqlNode.setTableKindByToken(TSourceToken st) voidTFromTable.setTableonly(TSourceToken tableonly) voidTOpenDatasource.setTableToken(TSourceToken tableToken) voidTUpdateSqlNode.setUpdateToken(TSourceToken updateToken) voidTConstant.setValueToken(TSourceToken valueToken) set value of this constantvoidTTypeName.setVarying(TSourceToken st) voidTColumnDefinition.setXmlTableColumnPath(TSourceToken xmlTableColumnPath) Method parameters in gudusoft.gsqlparser.nodes with type arguments of type TSourceTokenConstructors in gudusoft.gsqlparser.nodes with parameters of type TSourceTokenModifierConstructorDescriptionTConstant(ELiteralType literalType, TSourceToken valueToken) Class constructor, set the type and value of this constant when creating a new instance of the constantTConstant(ELiteralType literalType, TSourceToken valueToken, EIntervalType intervalType) Class constructor, set the type and value of this constant when creating a new instance of the constant. -
Uses of TSourceToken in gudusoft.gsqlparser.nodes.hive
Methods in gudusoft.gsqlparser.nodes.hive that return TSourceTokenModifier and TypeMethodDescriptionTHiveDropDBSqlNode.getDatabaseToken()THiveTerminatedIdentifier.getEscapeString()THiveKeyValueProperty.getKeyString()THiveDropDBSqlNode.getRestrictCascadeToken()THiveRecordReader.getStringLiteral()THiveRecordWriter.getStringLiteral()THiveGrantSqlNode.getTableToken()THiveShowGrantSqlNode.getTableToken()THiveTerminatedIdentifier.getTerminateString()THiveTransformClause.getUsingString()THiveKeyValueProperty.getValueString()Methods in gudusoft.gsqlparser.nodes.hive with parameters of type TSourceToken -
Uses of TSourceToken in gudusoft.gsqlparser.nodes.mdx
Methods in gudusoft.gsqlparser.nodes.mdx that return TSourceTokenModifier and TypeMethodDescriptionTMdxFloatConstNode.getDoubleToken()TMdxIntegerConstNode.getIntToken()TMdxAxisNode.getName_OR_Number()Depreciated since v1.9.8.0, replaced byTMdxAxisNode.getAxis()TMdxBinOpNode.getOperator()TMdxUnaryOpNode.getOperator()TMdxStringConstNode.getStringToken() -
Uses of TSourceToken in gudusoft.gsqlparser.nodes.mssql
Methods in gudusoft.gsqlparser.nodes.mssql that return TSourceTokenModifier and TypeMethodDescriptionTMssqlCreateTriggerUpdateColumn.getAnd_or_nullToken()TMssqlCreateTriggerUpdateColumn.getNotToken()TCopyIntoSqlNode.getOptionEndParenthesis()TCopyIntoSqlNode.getOptionStartParenthesis()Methods in gudusoft.gsqlparser.nodes.mssql with parameters of type TSourceTokenModifier and TypeMethodDescriptionTCreatePartitionFunctionSqlNode.getPartitionRangeType(TSourceToken token) voidTMssqlCreateTypeSqlNode.setNullNotNull(TSourceToken st) voidTCopyIntoSqlNode.setOptionEndParenthesis(TSourceToken optionEndParenthesis) voidTCopyIntoSqlNode.setOptionStartParenthesis(TSourceToken optionStartParenthesis) voidTDisableEnableTriggerSqlNode.setSqlStatementTypeByToken(TSourceToken st) -
Uses of TSourceToken in gudusoft.gsqlparser.nodes.mysql
Methods in gudusoft.gsqlparser.nodes.mysql that return TSourceTokenMethods in gudusoft.gsqlparser.nodes.mysql with parameters of type TSourceTokenModifier and TypeMethodDescriptionvoidTGroupConcatParam.setSeparatorToken(TSourceToken separatorToken) -
Uses of TSourceToken in gudusoft.gsqlparser.nodes.oracle
Methods in gudusoft.gsqlparser.nodes.oracle that return TSourceTokenModifier and TypeMethodDescriptionTOracleCacheClause.getCacheToken()TSegmentAttributesItem.getLoggingToken()Deprecated.since v1.9.5.9.TStorageItem.getNullToken()TErrorLoggingClause.getRejectLimitToken()TSizeClause.getSizeUnit()TStorageItem.getUnlimitedToken() -
Uses of TSourceToken in gudusoft.gsqlparser.nodes.teradata
Methods in gudusoft.gsqlparser.nodes.teradata that return TSourceTokenModifier and TypeMethodDescriptionTTeradataLockClause.getDatabase_table_view()TTeradataLockClause.getLockMode() -
Uses of TSourceToken in gudusoft.gsqlparser.parser
Methods in gudusoft.gsqlparser.parser that return TSourceTokenModifier and TypeMethodDescriptionprotected TSourceTokenAbstractSqlParser.getanewsourcetoken()Get next source token from the lexer.SqlParseResult.getLastTokenOfStatementBeenValidated()Methods in gudusoft.gsqlparser.parser with parameters of type TSourceTokenModifier and TypeMethodDescriptionSqlParseResult.Builder.lastTokenOfStatementBeenValidated(TSourceToken lastTokenOfStatementBeenValidated) -
Uses of TSourceToken in gudusoft.gsqlparser.pp.mediator.type
Methods in gudusoft.gsqlparser.pp.mediator.type that return TSourceTokenMethods in gudusoft.gsqlparser.pp.mediator.type with parameters of type TSourceTokenModifier and TypeMethodDescriptionvoidKeywordAlignMediator.addIndentLevelItem(TSourceToken token, int curIndentLen) save the sourceotoken indent information for current indent levelvoidKeywordAlignMediator.IndentLevelItem.setToken(TSourceToken token) Constructors in gudusoft.gsqlparser.pp.mediator.type with parameters of type TSourceToken -
Uses of TSourceToken in gudusoft.gsqlparser.pp.output
Methods in gudusoft.gsqlparser.pp.output with parameters of type TSourceToken -
Uses of TSourceToken in gudusoft.gsqlparser.pp.output.html
Methods in gudusoft.gsqlparser.pp.output.html with parameters of type TSourceTokenModifier and TypeMethodDescriptionHtmlOutputConfig.renderHighlightingElement(TSourceToken token) HtmlRenderUtil.renderToken(TSourceToken token) -
Uses of TSourceToken in gudusoft.gsqlparser.pp.print
Methods in gudusoft.gsqlparser.pp.print with parameters of type TSourceTokenModifier and TypeMethodDescriptionvoidIPrinter.print(TSourceToken t) print the source tokenvoidTextPrinter.print(TSourceToken t) -
Uses of TSourceToken in gudusoft.gsqlparser.pp.processor.type.comm
Methods in gudusoft.gsqlparser.pp.processor.type.comm with parameters of type TSourceTokenModifier and TypeMethodDescriptionstatic voidExpressionProcessor.processParenthesesNodeInSubQuery(GFmtOpt option, TCustomSqlStatement sql, TSourceToken leftParenthesis, TSourceToken rightParenthsis) -
Uses of TSourceToken in gudusoft.gsqlparser.pp.processor.type.select
Methods in gudusoft.gsqlparser.pp.processor.type.select that return TSourceTokenModifier and TypeMethodDescriptionstatic TSourceTokenJoinOnProcessor.getBeginJoinToken(TJoinItem lcitem) -
Uses of TSourceToken in gudusoft.gsqlparser.pp.stmtformatter
Methods in gudusoft.gsqlparser.pp.stmtformatter with parameters of type TSourceTokenModifier and TypeMethodDescriptionstatic booleanFormatterFactory.isNotNeedFormat(TSourceToken t) static voidFormatterFactory.processBlockStmt(GFmtOpt opt, TMssqlBlock stmt, TSourceToken ifToken) -
Uses of TSourceToken in gudusoft.gsqlparser.pp.stmtformatter.type.comm
Methods in gudusoft.gsqlparser.pp.stmtformatter.type.comm that return TSourceTokenMethods in gudusoft.gsqlparser.pp.stmtformatter.type.comm with parameters of type TSourceToken -
Uses of TSourceToken in gudusoft.gsqlparser.pp.utils
Fields in gudusoft.gsqlparser.pp.utils declared as TSourceTokenModifier and TypeFieldDescriptionstatic final TSourceTokenSourceTokenConstant.EMPTYempty source tokenstatic final TSourceTokenSourceTokenConstant.RETURN2return source tokenstatic final TSourceTokenSourceTokenConstant.WHITESPACEspace source tokenMethods in gudusoft.gsqlparser.pp.utils that return TSourceTokenModifier and TypeMethodDescriptionstatic TSourceTokenSourceTokenSearcher.backforwardSearch(TSourceToken token, int backsearchSize, String text) backward search the source tokenstatic TSourceTokenSourceTokenSearcher.backforwardSearchNotWhitespaceAndReturnToken(TSourceToken endToken, int backforwardSearchSize, String text) static TSourceTokenSourceTokenOperator.createNoFormatFlagToken()static TSourceTokenSourceTokenOperator.createReturnSourceToken()static TSourceTokenSourceTokenOperator.createWhitespaceSourceToken(int length) create the white space source tokenstatic TSourceTokenSourceTokenSearcher.firstNotWhitespaceAndReturnToken(TSourceTokenList list, int startPos, int endPos) get first token which is not whitespace and return tokenstatic TSourceTokenSourceTokenSearcher.firstSelectedToken(TSourceTokenList list, int startPos, int endPos, String text) static TSourceTokenSourceTokenSearcher.firstSelectNotWhitespaceAndReturnToken(TSourceTokenList list, int startPos, String text) forward search the token which is the first not whitespace or return token, and its value is a fixed textstatic TSourceTokenSourceTokenSearcher.forwardSearch(TSourceToken token, int forwardSearchSize, String text) forward search the source tokenstatic TSourceTokenSourceTokenSearcher.lastNotWhitespaceAndReturnToken(TSourceTokenList list, int endPos) get last token which is not whitespace and return tokenstatic TSourceTokenSourceTokenSearcher.lastNotWhitespaceAndReturnToken(TSourceTokenList list, int startPos, int endPos) get last token which is not whitespace and return tokenstatic TSourceTokenSourceTokenSearcher.lastSelectedNotWhitespaceAndReturnToken(TSourceTokenList list, int endPos, String text) backward search the token which is the first not whitespace or return token, and its value is a fixed textstatic TSourceTokenSourceTokenSearcher.lastSelectedNotWhitespaceAndReturnToken(TSourceToken token, String text) backward search the token which is the first not whitespace or return token, and its value is a fixed textstatic TSourceTokenSourceTokenSearcher.lastSelectedToken(TSourceTokenList list, int startPos, int endPos, String text) Methods in gudusoft.gsqlparser.pp.utils with parameters of type TSourceTokenModifier and TypeMethodDescriptionstatic voidSourceTokenOperator.addAfter(GFmtOpt opt, TSourceToken targetToken, TSourceToken needAddToken) static voidSourceTokenOperator.addBefore(GFmtOpt opt, TSourceToken targetToken, TSourceToken needAddToken) insert the source token before the target source tokenstatic TSourceTokenSourceTokenSearcher.backforwardSearch(TSourceToken token, int backsearchSize, String text) backward search the source tokenstatic TSourceTokenSourceTokenSearcher.backforwardSearchNotWhitespaceAndReturnToken(TSourceToken endToken, int backforwardSearchSize, String text) static intSourceTokenOperator.curColumnNumberVT(TSourceToken token) calcaulate the text length from a given position to the line start.static intSourceTokenOperator.curIndentLenVT(TSourceToken token) calculate the current indent length VT is the abbr for "virtual token" (which contains before tokens, after tokens and replace token)static TSourceTokenSourceTokenSearcher.forwardSearch(TSourceToken token, int forwardSearchSize, String text) forward search the source tokenstatic booleanSourceTokenSearcher.isNewLineToken(TSourceToken token) static booleanSourceTokenSearcher.isSimpleComment(TSourceToken token) static TSourceTokenSourceTokenSearcher.lastSelectedNotWhitespaceAndReturnToken(TSourceToken token, String text) backward search the token which is the first not whitespace or return token, and its value is a fixed textstatic voidSourceTokenOperator.removeAllBeforeTokenVT(GFmtOpt opt, TSourceToken targetToken) remove all source token in the before source token list VT is the abbr for "virtual token" (that this method will operates before tokens, after tokens and replace token)static voidSourceTokenOperator.removeThisToken(TSourceToken token) static voidSourceTokenOperator.removeWhitespaceAndReturnFormBeforeAndAfter(GFmtOpt opt, TSourceToken token) remove the white space and the return token before this token and after this tokenstatic intSourceTokenOperator.removeWhitespaceAndReturnFromEnd(GFmtOpt opt, TSourceToken token) remove the white space and the return token from the end -
Uses of TSourceToken in gudusoft.gsqlparser.scriptWriter
Methods in gudusoft.gsqlparser.scriptWriter with parameters of type TSourceTokenModifier and TypeMethodDescriptionvoidTScriptWriter.addComparisonOperator(EComparisonType comparisonType, TSourceToken defaultSymbolToken) voidTScriptWriter.addToken(TSourceToken st) Method parameters in gudusoft.gsqlparser.scriptWriter with type arguments of type TSourceTokenModifier and TypeMethodDescriptionvoidTScriptWriter.addComparisonOperatorByTokens(ArrayList<TSourceToken> tokens) -
Uses of TSourceToken in gudusoft.gsqlparser.sqlcmds
Methods in gudusoft.gsqlparser.sqlcmds with parameters of type TSourceTokenModifier and TypeMethodDescriptionTSqlCmds.findCmdUsedByYacc(TSourceToken token) Generic method for yacc parsers to find SQL command type.protected TCustomSqlStatementAbstractSqlCmds.findcte(TSourceToken ptoken) Detect Common Table Expression (CTE) for all database vendors.protected TSqlCmdAbstractSqlCmds.finddbcmd(TSourceToken pcst, TSqlCmdList cmdList) Find command in the list starting from a specific token.TSqlCmds.findmssqlcmdusedbyyacc(TSourceToken pcst) TSqlCmdsAdapter.findSybaseCmdInternal(TSourceToken token) Internal helper for Sybase to find command type.TSqlCmds.findsybasecmdusedbyyacc(TSourceToken pcst) AbstractSqlCmds.getStatementTypeForToken(TSourceToken token) ISqlCmds.getStatementTypeForToken(TSourceToken token) Finds SQL command type for yacc parser integration.TSqlCmdsAdapter.getStatementTypeForToken(TSourceToken token) TSqlCmdsMssql.getStatementTypeForToken(TSourceToken token) TSqlCmdsSybase.getStatementTypeForToken(TSourceToken token) ISqlCmds.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) Identifies the SQL statement type from a token stream.TSqlCmds.issql(TSourceToken pcst, EDbVendor pdbvendor, EFindSqlStateType pstate, TCustomSqlStatement psqlstatement) TSqlCmdsAdapter.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsAthena.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsBigquery.issql(TSourceToken pcst, EFindSqlStateType pstate, TCustomSqlStatement psqlstatement) TSqlCmdsCouchbase.issql(TSourceToken pcst, EFindSqlStateType pstate, TCustomSqlStatement psqlstatement) TSqlCmdsDatabricks.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsDb2.issql(TSourceToken pcst, EFindSqlStateType pstate, TCustomSqlStatement psqlstatement) TSqlCmdsGaussdb.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsGreenplum.issql(TSourceToken pcst, EFindSqlStateType pstate, TCustomSqlStatement psqlstatement) TSqlCmdsHana.issql(TSourceToken pcst, EFindSqlStateType pstate, TCustomSqlStatement psqlstatement) TSqlCmdsHive.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsInformix.issql(TSourceToken pcst, EFindSqlStateType pstate, TCustomSqlStatement psqlstatement) TSqlCmdsMdx.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsMssql.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsMysql.issql(TSourceToken pcst, EFindSqlStateType pstate, TCustomSqlStatement psqlstatement) TSqlCmdsNetezza.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsOdbc.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsOpenedge.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsOracle.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsPostgresql.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsPresto.issql(TSourceToken pcst, EFindSqlStateType pstate, TCustomSqlStatement psqlstatement) TSqlCmdsRedshift.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsSnowflake.issql(TSourceToken pcst, EFindSqlStateType pstate, TCustomSqlStatement psqlstatement) TSqlCmdsSoql.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsSparksql.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsSybase.issql(TSourceToken pcst, EFindSqlStateType pstate, TCustomSqlStatement psqlstatement) TSqlCmdsTeradata.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsTrino.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) TSqlCmdsVertica.issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement) -
Uses of TSourceToken in gudusoft.gsqlparser.stmt
Methods in gudusoft.gsqlparser.stmt that return TSourceTokenModifier and TypeMethodDescriptionTCreateDatabaseSqlStatement.getDatabase()TDeleteSqlStatement.getDeleteToken()DELETE keyword of the delete statement.TDescribeStmt.getDescToken()TDropSchemaSqlStatement.getDropBehavior()TSelectSqlStatement.getEndToken()TInsertSqlStatement.getIgnore()IGNORE keyword used in the insert statement.TInsertSqlStatement.getInsertToken()INSERT keywordTInsertSqlStatement.getPriority_delayed()DELAY, LOW_PRIORITY, HIGH_PRIORITY keyword used in insert statement.TSelectSqlStatement.getSelectToken()TCreateViewSqlStatement.getStForce()TCreateViewSqlStatement.getStReplace()TUpdateSqlStatement.getUpdateToken()UPDATE keywordMethods in gudusoft.gsqlparser.stmt with parameters of type TSourceTokenModifier and TypeMethodDescriptionvoidTDeleteSqlStatement.setDeleteToken(TSourceToken deleteToken) voidTInsertSqlStatement.setInsertToken(TSourceToken insertToken) voidTSelectSqlStatement.setSelectToken(TSourceToken selectToken) voidTCreateViewSqlStatement.setStForce(TSourceToken stForce) voidTCreateViewSqlStatement.setStReplace(TSourceToken stReplace) voidTUpdateSqlStatement.setUpdateToken(TSourceToken updateToken) -
Uses of TSourceToken in gudusoft.gsqlparser.stmt.hive
Methods in gudusoft.gsqlparser.stmt.hive that return TSourceTokenModifier and TypeMethodDescriptionTHiveDropDatabase.getDatabaseToken()THiveDropDatabase.getRestrictCascadeToken()THiveGrant.getTableToken()THiveRevoke.getTableToken()THiveShowGrant.getTableToken() -
Uses of TSourceToken in gudusoft.gsqlparser.stmt.mssql
Methods in gudusoft.gsqlparser.stmt.mssql that return TSourceTokenModifier and TypeMethodDescriptionTMssqlCommit.getTrans_or_work()TMssqlRollback.getTrans_or_work()TMssqlSaveTran.getTrans_or_work() -
Uses of TSourceToken in gudusoft.gsqlparser.stmt.oracle
Methods in gudusoft.gsqlparser.stmt.oracle with parameters of type TSourceTokenModifier and TypeMethodDescriptionstatic ESqlPlusCmdTSqlplusCmdStatement.searchCmd(String cmdStr, TSourceToken nextToken) -
Uses of TSourceToken in gudusoft.gsqlparser.stmt.teradata.utilities
Methods in gudusoft.gsqlparser.stmt.teradata.utilities with parameters of type TSourceTokenModifier and TypeMethodDescriptionstatic BteqCmdTypeBteqCmdType.searchBteqCmd(TSourceToken token)
TCreateTableOption.getComment()instead