Class DelimitedFileTypeMetadata
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datalabelingservicedataplane.model.TextFileTypeMetadata
-
- com.oracle.bmc.datalabelingservicedataplane.model.DelimitedFileTypeMetadata
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20211001") public final class DelimitedFileTypeMetadata extends TextFileTypeMetadata
Metadata of delimited files.
Note: Objects should always be created or deserialized using theDelimitedFileTypeMetadata.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 theDelimitedFileTypeMetadata.Builder
, which maintain a set of all explicitly set fields calledDelimitedFileTypeMetadata.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DelimitedFileTypeMetadata.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.datalabelingservicedataplane.model.TextFileTypeMetadata
TextFileTypeMetadata.FormatType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DelimitedFileTypeMetadata.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getColumnDelimiter()
A column delimiterInteger
getColumnIndex()
The index of a selected column.String
getColumnName()
The name of a selected column.String
getEscapeCharacter()
An escape character.String
getLineDelimiter()
A line delimiter.int
hashCode()
DelimitedFileTypeMetadata.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Method Detail
-
builder
public static DelimitedFileTypeMetadata.Builder builder()
Create a new builder.
-
toBuilder
public DelimitedFileTypeMetadata.Builder toBuilder()
-
getColumnName
public String getColumnName()
The name of a selected column.- Returns:
- the value
-
getColumnIndex
public Integer getColumnIndex()
The index of a selected column.This is a zero-based index.
- Returns:
- the value
-
getColumnDelimiter
public String getColumnDelimiter()
A column delimiter- Returns:
- the value
-
getLineDelimiter
public String getLineDelimiter()
A line delimiter.- Returns:
- the value
-
getEscapeCharacter
public String getEscapeCharacter()
An escape character.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classTextFileTypeMetadata
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classTextFileTypeMetadata
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classTextFileTypeMetadata
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTextFileTypeMetadata
-
-