Class Statement (2.17.0)

public final class Statement implements Serializable

Inheritance

Object > Statement

Implements

Serializable

Static Methods

newBuilder(String arg0)

public static Statement.Builder newBuilder(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
Builder

of(String arg0)

public static Statement of(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
Statement

Methods

analyzeQuery(ReadContext arg0, ReadContext.QueryAnalyzeMode arg1)

public ResultSet analyzeQuery(ReadContext arg0, ReadContext.QueryAnalyzeMode arg1)
Parameters
Name Description
arg0 ReadContext
arg1 QueryAnalyzeMode
Returns
Type Description
ResultSet

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
Name Description
arg0 Object
Returns
Type Description
boolean
Overrides

executeQuery(ReadContext arg0, Options.QueryOption[] arg1)

public ResultSet executeQuery(ReadContext arg0, Options.QueryOption[] arg1)
Parameters
Name Description
arg0 ReadContext
arg1 QueryOption[]
Returns
Type Description
ResultSet

getParameters()

public Map<String,Value> getParameters()
Returns
Type Description
Map<String,Value>

getQueryOptions()

public ExecuteSqlRequest.QueryOptions getQueryOptions()
Returns
Type Description
com.google.spanner.v1.ExecuteSqlRequest.QueryOptions

getSql()

public String getSql()
Returns
Type Description
String

hasBinding(String arg0)

public boolean hasBinding(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
boolean

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public Statement.Builder toBuilder()
Returns
Type Description
Builder

toString()

public String toString()
Returns
Type Description
String
Overrides

withReplacedSql(String arg0)

public Statement withReplacedSql(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
Statement