Package com.oracle.bmc.nosql.model
Class StatementSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.model.StatementSummary.Builder
-
- Enclosing class:
- StatementSummary
public static class StatementSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatementSummarybuild()StatementSummary.Buildercopy(StatementSummary model)StatementSummary.BuilderindexName(String indexName)The index name from the SQL statement, if present.StatementSummary.BuilderisIfExists(Boolean isIfExists)True if the statement includes “IF EXISTS.”StatementSummary.BuilderisIfNotExists(Boolean isIfNotExists)True if the statement includes “IF NOT EXISTS.”StatementSummary.Builderoperation(StatementSummary.Operation operation)The operation represented in the statement, e.g.StatementSummary.BuildersyntaxError(String syntaxError)If present, indicates a syntax error in the statement.StatementSummary.BuildertableName(String tableName)The table name from the SQL statement.
-
-
-
Method Detail
-
operation
public StatementSummary.Builder operation(StatementSummary.Operation operation)
The operation represented in the statement, e.g.CREATE_TABLE.
- Parameters:
operation- the value to set- Returns:
- this builder
-
tableName
public StatementSummary.Builder tableName(String tableName)
The table name from the SQL statement.- Parameters:
tableName- the value to set- Returns:
- this builder
-
indexName
public StatementSummary.Builder indexName(String indexName)
The index name from the SQL statement, if present.- Parameters:
indexName- the value to set- Returns:
- this builder
-
isIfExists
public StatementSummary.Builder isIfExists(Boolean isIfExists)
True if the statement includes “IF EXISTS.”- Parameters:
isIfExists- the value to set- Returns:
- this builder
-
isIfNotExists
public StatementSummary.Builder isIfNotExists(Boolean isIfNotExists)
True if the statement includes “IF NOT EXISTS.”- Parameters:
isIfNotExists- the value to set- Returns:
- this builder
-
syntaxError
public StatementSummary.Builder syntaxError(String syntaxError)
If present, indicates a syntax error in the statement.- Parameters:
syntaxError- the value to set- Returns:
- this builder
-
build
public StatementSummary build()
-
copy
public StatementSummary.Builder copy(StatementSummary model)
-
-