Class AbstractStatementParser (0.18.2)

public abstract class AbstractStatementParser

Inheritance

java.lang.Object > AbstractStatementParser

Static Methods

getInstance(Dialect arg0)

public static AbstractStatementParser getInstance(Dialect arg0)
Parameter
NameDescription
arg0com.google.cloud.spanner.Dialect
Returns
TypeDescription
AbstractStatementParser

Methods

checkReturningClause(String arg0)

public boolean checkReturningClause(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
boolean

checkReturningClauseInternal(String arg0)

protected abstract boolean checkReturningClauseInternal(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
boolean

convertPositionalParametersToNamedParameters(char arg0, String arg1)

public AbstractStatementParser.ParametersInfo convertPositionalParametersToNamedParameters(char arg0, String arg1)
Parameters
NameDescription
arg0char
arg1String
Returns
TypeDescription
ParametersInfo

isDdlStatement(String arg0)

public boolean isDdlStatement(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
boolean

isQuery(String arg0)

public boolean isQuery(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
boolean

isUpdateStatement(String arg0)

public boolean isUpdateStatement(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
boolean

parse(Statement arg0)

public AbstractStatementParser.ParsedStatement parse(Statement arg0)
Parameter
NameDescription
arg0com.google.cloud.spanner.Statement
Returns
TypeDescription
ParsedStatement

removeCommentsAndTrim(String arg0)

public String removeCommentsAndTrim(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
String

supportsExplain()

protected abstract boolean supportsExplain()
Returns
TypeDescription
boolean