
org.postgresql.core.Parser.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
???? 4? ?? ?? ??
???
??
???
???
??
??
???
???? ?
??
?
??
???
??
?
??
??
??
??
???
???
?
?
???
%????
)?
?
??
??
???
?
??
?
)?
?
????
??? ???
??
??
?? ?
?? ?
?? ?
?? ?
?? ?
??? ?
??
??
??
???
?????
???
??
??
??
???
???
?? ??
??
??
??
??
??
??
??
?
?
l
?
?
?
?
?
y
|
~ e ?? e
?
!"
??
?# ?$ ?%
?&'
?()*+
?,
?-
?.
?/0
?1 2
?3
?4
?5
%?
6789:
6;
?<=
?>?@
?A BC
?ADE InnerClassesF
SqlParseState NO_BINDS [I QUOTE_OR_ALPHABETIC_MARKER [C )QUOTE_OR_ALPHABETIC_MARKER_OR_PARENTHESIS SINGLE_QUOTE ()V Code LineNumberTable LocalVariableTable this Lorg/postgresql/core/Parser; parseJdbcSql ;(Ljava/lang/String;ZZZZ[Ljava/lang/String;)Ljava/util/List; i I j bindIndex command $Lorg/postgresql/core/SqlCommandType;
wordLength aChar C
isKeyWordChar Z query Ljava/lang/String; standardConformingStrings withParameters splitStatements isBatchedReWriteConfigured returningColumnNames [Ljava/lang/String; numOfOverSymble
haveProcedure haveFunction shadow reg queryTemp queryArr
shadowTemp shadowArr
fragmentStart inParen
inBeginEnd aChars nativeSql Ljava/lang/StringBuilder;
bindPositions Ljava/util/List;
nativeQueries isCurrentReWriteCompatible
isValuesFound valuesBraceOpenPosition valuesBraceClosePosition valuesBraceCloseFound isInsertPresent isReturningPresent isReturningPresentPrev currentCommandType prevCommandType numberOfStatements whitespaceOnly keyWordCount keywordStart
keywordEnd lastQuery !Lorg/postgresql/core/NativeQuery; LocalVariableTypeTable %Ljava/util/List; 3Ljava/util/List;
StackMapTable ? ?GH ?
Exceptions Signature ^(Ljava/lang/String;ZZZZ[Ljava/lang/String;)Ljava/util/List; startWithComment (Ljava/lang/String;)Z str removeFirstComment &(Ljava/lang/String;)Ljava/lang/String; index parseWithCommandType +([CIII)Lorg/postgresql/core/SqlCommandType; nextChar nextInd addReturning T(Ljava/lang/StringBuilder;Lorg/postgresql/core/SqlCommandType;[Ljava/lang/String;Z)Z
columnName col
toIntArray (Ljava/util/List;)[I list res )(Ljava/util/List;)[I parseSingleQuotes ([CIZ)I offset parseDoubleQuotes ([CI)I parseDollarQuotes d tagIdx tagLen endIdx parseLineComment parseBlockComment level parseDeleteKeyword ([CI)Z parseInsertKeyword parseMoveKeyword parseReturningKeyword parseSelectKeyword parseUpdateKeyword parseValuesKeyword parseLong (Ljava/lang/String;II)J s
beginIndex endIndex J parseWithKeyword parseAsKeyword isDigitAt (Ljava/lang/String;I)Z pos digitAt (Ljava/lang/String;I)I c isSpace (C)Z isArrayWhiteSpace isOperatorChar isIdentifierStartChar isIdentifierContChar charTerminatesIdentifier isDollarQuoteStartChar isDollarQuoteContChar subArraysEqual ([CIII)Z arr offA offB len modifyJdbcCall h(Ljava/lang/String;ZIILorg/postgresql/jdbc/EscapeSyntaxCallMode;)Lorg/postgresql/core/JdbcCallParseInfo; ch prefix suffix needComma jdbcSql
stdStrings
serverVersion protocolVersion escapeSyntaxCallMode *Lorg/postgresql/jdbc/EscapeSyntaxCallMode; sql
isFunction outParamBeforeFunc state inQuotes inEscape
startIndex syntaxError prefixLength sb openingI replaceProcessing ((Ljava/lang/String;ZZ)Ljava/lang/String; chars newsql replaceProcessingEnabled parseSql !([CILjava/lang/StringBuilder;ZZ)I i0 availableState *Lorg/postgresql/core/Parser$SqlParseState; matchedPosition availableStates +[Lorg/postgresql/core/Parser$SqlParseState; stopOnComma nestedParenthesis endOfNestedr
findOpenBrace posArgs checkParsePosition (III[CLjava/lang/String;)V message escapeFunction ([CILjava/lang/StringBuilder;Z)I functionName argPos escapeFunctionArguments 2(Ljava/lang/StringBuilder;Ljava/lang/String;[CIZ)I arg lastPos targetException Ljava/lang/Throwable; e -Ljava/lang/reflect/InvocationTargetException; "Ljava/lang/IllegalAccessException;
parsedArgs method Ljava/lang/reflect/Method; *Ljava/util/List;JK
access$300 ()[C
access$400
access$500
SourceFile Parser.java ? ? ? ? ? ? ? ?
\s+LM ??NOPQRM PROCEDUREST FUNCTION org/postgresql/core/NativeQueryU ?VWX ?YZ[\]? java/lang/StringBuilder^_ ?`ab@ & ' *cd
ef java/util/ArrayListg_hi java/lang/Integerj_kMWl ?mnTo ?p`! eqcrsteu BEGIN DECLARE Ev
G N DD@C@/*w ?)*x ?,*y ?.*z ?7*{ ?+*|}~ ?-*0*? --?
; /* */?? [
]?=?t??8*
RETURNING ?? , ??? ? ?E@F@G@HI???1?<=?@ java/lang/NumberFormatException Input string: "
", position: e? ?? ,()[].;:+-*/%^<>=~!@#&|`????@?@?@B@ call java/lang/IllegalStateException somehow got into bad state %org/postgresql/core/JdbcCallParseInfo ?? !org/postgresql/util/PSQLException