public class S3DataSpec extends Object implements Serializable, Cloneable
Describes the data specification of a DataSource .
| Constructor and Description |
|---|
S3DataSpec() |
| Modifier and Type | Method and Description |
|---|---|
S3DataSpec |
clone() |
boolean |
equals(Object obj) |
String |
getDataLocationS3()
The location of the data file(s) used by a
DataSource. |
String |
getDataRearrangement()
Describes the splitting requirement of a
Datasource. |
String |
getDataSchema()
Describes the schema for an Amazon S3
DataSource. |
String |
getDataSchemaLocationS3()
Describes the schema Location in Amazon S3.
|
int |
hashCode() |
void |
setDataLocationS3(String dataLocationS3)
The location of the data file(s) used by a
DataSource. |
void |
setDataRearrangement(String dataRearrangement)
Describes the splitting requirement of a
Datasource. |
void |
setDataSchema(String dataSchema)
Describes the schema for an Amazon S3
DataSource. |
void |
setDataSchemaLocationS3(String dataSchemaLocationS3)
Describes the schema Location in Amazon S3.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
S3DataSpec |
withDataLocationS3(String dataLocationS3)
The location of the data file(s) used by a
DataSource. |
S3DataSpec |
withDataRearrangement(String dataRearrangement)
Describes the splitting requirement of a
Datasource. |
S3DataSpec |
withDataSchema(String dataSchema)
Describes the schema for an Amazon S3
DataSource. |
S3DataSpec |
withDataSchemaLocationS3(String dataSchemaLocationS3)
Describes the schema Location in Amazon S3.
|
public String getDataLocationS3()
DataSource.
The URI specifies a data file or an Amazon Simple Storage Service
(Amazon S3) directory or bucket containing data files.
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
DataSource.
The URI specifies a data file or an Amazon Simple Storage Service
(Amazon S3) directory or bucket containing data files.public void setDataLocationS3(String dataLocationS3)
DataSource.
The URI specifies a data file or an Amazon Simple Storage Service
(Amazon S3) directory or bucket containing data files.
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
dataLocationS3 - The location of the data file(s) used by a DataSource.
The URI specifies a data file or an Amazon Simple Storage Service
(Amazon S3) directory or bucket containing data files.public S3DataSpec withDataLocationS3(String dataLocationS3)
DataSource.
The URI specifies a data file or an Amazon Simple Storage Service
(Amazon S3) directory or bucket containing data files.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
dataLocationS3 - The location of the data file(s) used by a DataSource.
The URI specifies a data file or an Amazon Simple Storage Service
(Amazon S3) directory or bucket containing data files.public String getDataRearrangement()
Datasource.Datasource.public void setDataRearrangement(String dataRearrangement)
Datasource.dataRearrangement - Describes the splitting requirement of a Datasource.public S3DataSpec withDataRearrangement(String dataRearrangement)
Datasource.
Returns a reference to this object so that method calls can be chained together.
dataRearrangement - Describes the splitting requirement of a Datasource.public String getDataSchema()
DataSource.
Constraints:
Length: 0 - 131071
DataSource.public void setDataSchema(String dataSchema)
DataSource.
Constraints:
Length: 0 - 131071
dataSchema - Describes the schema for an Amazon S3 DataSource.public S3DataSpec withDataSchema(String dataSchema)
DataSource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131071
dataSchema - Describes the schema for an Amazon S3 DataSource.public String getDataSchemaLocationS3()
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
public void setDataSchemaLocationS3(String dataSchemaLocationS3)
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
dataSchemaLocationS3 - Describes the schema Location in Amazon S3.public S3DataSpec withDataSchemaLocationS3(String dataSchemaLocationS3)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
dataSchemaLocationS3 - Describes the schema Location in Amazon S3.public String toString()
toString in class ObjectObject.toString()public S3DataSpec clone()
Copyright © 2015. All rights reserved.