@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class OracleWriteAttributes extends AbstractWriteAttribute
Properties to configure when writing to an Oracle Database.
Note: Objects should always be created or deserialized using the OracleWriteAttributes.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the OracleWriteAttributes.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
OracleWriteAttributes.Builder |
AbstractWriteAttribute.ModelType
Constructor and Description |
---|
OracleWriteAttributes(Integer batchSize,
Boolean isTruncate,
String isolationLevel)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OracleWriteAttributes.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Integer |
getBatchSize()
The batch size for writing.
|
String |
getIsolationLevel()
Specifies the isolation level.
|
Boolean |
getIsTruncate()
Specifies whether to truncate.
|
int |
hashCode() |
OracleWriteAttributes.Builder |
toBuilder() |
String |
toString() |
@Deprecated public OracleWriteAttributes(Integer batchSize, Boolean isTruncate, String isolationLevel)
public static OracleWriteAttributes.Builder builder()
Create a new builder.
public OracleWriteAttributes.Builder toBuilder()
public Integer getBatchSize()
The batch size for writing.
public Boolean getIsTruncate()
Specifies whether to truncate.
public String getIsolationLevel()
Specifies the isolation level.
public String toString()
toString
in class AbstractWriteAttribute
public boolean equals(Object o)
equals
in class AbstractWriteAttribute
public int hashCode()
hashCode
in class AbstractWriteAttribute
Copyright © 2016–2022. All rights reserved.