@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3GlueParquetTarget extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a data target that writes to Amazon S3 in Apache Parquet columnar storage.
Constructor and Description |
---|
S3GlueParquetTarget() |
Modifier and Type | Method and Description |
---|---|
S3GlueParquetTarget |
clone() |
boolean |
equals(Object obj) |
String |
getCompression()
Specifies how the data is compressed.
|
List<String> |
getInputs()
The nodes that are inputs to the data target.
|
String |
getName()
The name of the data target.
|
List<List<String>> |
getPartitionKeys()
Specifies native partitioning using a sequence of keys.
|
String |
getPath()
A single Amazon S3 path to write to.
|
DirectSchemaChangePolicy |
getSchemaChangePolicy()
A policy that specifies update behavior for the crawler.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompression(String compression)
Specifies how the data is compressed.
|
void |
setInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
|
void |
setName(String name)
The name of the data target.
|
void |
setPartitionKeys(Collection<List<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
|
void |
setPath(String path)
A single Amazon S3 path to write to.
|
void |
setSchemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
|
String |
toString()
Returns a string representation of this object.
|
S3GlueParquetTarget |
withCompression(ParquetCompressionType compression)
Specifies how the data is compressed.
|
S3GlueParquetTarget |
withCompression(String compression)
Specifies how the data is compressed.
|
S3GlueParquetTarget |
withInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
|
S3GlueParquetTarget |
withInputs(String... inputs)
The nodes that are inputs to the data target.
|
S3GlueParquetTarget |
withName(String name)
The name of the data target.
|
S3GlueParquetTarget |
withPartitionKeys(Collection<List<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
|
S3GlueParquetTarget |
withPartitionKeys(List<String>... partitionKeys)
Specifies native partitioning using a sequence of keys.
|
S3GlueParquetTarget |
withPath(String path)
A single Amazon S3 path to write to.
|
S3GlueParquetTarget |
withSchemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
|
public void setName(String name)
The name of the data target.
name
- The name of the data target.public String getName()
The name of the data target.
public S3GlueParquetTarget withName(String name)
The name of the data target.
name
- The name of the data target.public List<String> getInputs()
The nodes that are inputs to the data target.
public void setInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
inputs
- The nodes that are inputs to the data target.public S3GlueParquetTarget withInputs(String... inputs)
The nodes that are inputs to the data target.
NOTE: This method appends the values to the existing list (if any). Use
setInputs(java.util.Collection)
or withInputs(java.util.Collection)
if you want to override the
existing values.
inputs
- The nodes that are inputs to the data target.public S3GlueParquetTarget withInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
inputs
- The nodes that are inputs to the data target.public List<List<String>> getPartitionKeys()
Specifies native partitioning using a sequence of keys.
public void setPartitionKeys(Collection<List<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
partitionKeys
- Specifies native partitioning using a sequence of keys.public S3GlueParquetTarget withPartitionKeys(List<String>... partitionKeys)
Specifies native partitioning using a sequence of keys.
NOTE: This method appends the values to the existing list (if any). Use
setPartitionKeys(java.util.Collection)
or withPartitionKeys(java.util.Collection)
if you want
to override the existing values.
partitionKeys
- Specifies native partitioning using a sequence of keys.public S3GlueParquetTarget withPartitionKeys(Collection<List<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
partitionKeys
- Specifies native partitioning using a sequence of keys.public void setPath(String path)
A single Amazon S3 path to write to.
path
- A single Amazon S3 path to write to.public String getPath()
A single Amazon S3 path to write to.
public S3GlueParquetTarget withPath(String path)
A single Amazon S3 path to write to.
path
- A single Amazon S3 path to write to.public void setCompression(String compression)
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension.
Possible values are "gzip"
and "bzip"
).
compression
- Specifies how the data is compressed. This is generally not necessary if the data has a standard file
extension. Possible values are "gzip"
and "bzip"
).ParquetCompressionType
public String getCompression()
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension.
Possible values are "gzip"
and "bzip"
).
"gzip"
and "bzip"
).ParquetCompressionType
public S3GlueParquetTarget withCompression(String compression)
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension.
Possible values are "gzip"
and "bzip"
).
compression
- Specifies how the data is compressed. This is generally not necessary if the data has a standard file
extension. Possible values are "gzip"
and "bzip"
).ParquetCompressionType
public S3GlueParquetTarget withCompression(ParquetCompressionType compression)
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension.
Possible values are "gzip"
and "bzip"
).
compression
- Specifies how the data is compressed. This is generally not necessary if the data has a standard file
extension. Possible values are "gzip"
and "bzip"
).ParquetCompressionType
public void setSchemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
schemaChangePolicy
- A policy that specifies update behavior for the crawler.public DirectSchemaChangePolicy getSchemaChangePolicy()
A policy that specifies update behavior for the crawler.
public S3GlueParquetTarget withSchemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
schemaChangePolicy
- A policy that specifies update behavior for the crawler.public String toString()
toString
in class Object
Object.toString()
public S3GlueParquetTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.