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 StatementSummary
build()
StatementSummary.Builder
copy(StatementSummary model)
StatementSummary.Builder
indexName(String indexName)
The index name from the SQL statement, if present.StatementSummary.Builder
isIfExists(Boolean isIfExists)
True if the statement includes “IF EXISTS.”StatementSummary.Builder
isIfNotExists(Boolean isIfNotExists)
True if the statement includes “IF NOT EXISTS.”StatementSummary.Builder
operation(StatementSummary.Operation operation)
The operation represented in the statement, e.g.StatementSummary.Builder
syntaxError(String syntaxError)
If present, indicates a syntax error in the statement.StatementSummary.Builder
tableName(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)
-
-