@Generated(value="OracleSDKGenerator", comments="API Version: 20211001") public final class ObjectStorageSourceDetails extends SourceDetails
Object Storage Source Details.
Note: Objects should always be created or deserialized using the ObjectStorageSourceDetails.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 ObjectStorageSourceDetails.Builder
, which maintain a
set of all explicitly set fields called ObjectStorageSourceDetails.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ObjectStorageSourceDetails.Builder |
SourceDetails.SourceType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ObjectStorageSourceDetails(String relativePath,
String path,
BigDecimal offset,
BigDecimal length)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ObjectStorageSourceDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
BigDecimal |
getLength()
The length from the offset into the file containing the content.
|
BigDecimal |
getOffset()
The offset into the file containing the content.
|
String |
getPath()
The full path of the file this record belongs to.
|
String |
getRelativePath()
The path relative to the prefix specified in the dataset source details (file name).
|
int |
hashCode() |
ObjectStorageSourceDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public ObjectStorageSourceDetails(String relativePath, String path, BigDecimal offset, BigDecimal length)
public static ObjectStorageSourceDetails.Builder builder()
Create a new builder.
public ObjectStorageSourceDetails.Builder toBuilder()
public String getRelativePath()
The path relative to the prefix specified in the dataset source details (file name).
public String getPath()
The full path of the file this record belongs to.
public BigDecimal getOffset()
The offset into the file containing the content.
public BigDecimal getLength()
The length from the offset into the file containing the content.
public String toString()
toString
in class SourceDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class SourceDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class SourceDetails
public int hashCode()
hashCode
in class SourceDetails
Copyright © 2016–2024. All rights reserved.