@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HudiTarget extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an Apache Hudi data source.
Constructor and Description |
---|
HudiTarget() |
Modifier and Type | Method and Description |
---|---|
HudiTarget |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionName()
The name of the connection to use to connect to the Hudi target.
|
List<String> |
getExclusions()
A list of glob patterns used to exclude from the crawl.
|
Integer |
getMaximumTraversalDepth()
The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Hudi metadata folder in your
Amazon S3 path.
|
List<String> |
getPaths()
An array of Amazon S3 location strings for Hudi, each indicating the root folder with which the metadata files
for a Hudi table resides.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionName(String connectionName)
The name of the connection to use to connect to the Hudi target.
|
void |
setExclusions(Collection<String> exclusions)
A list of glob patterns used to exclude from the crawl.
|
void |
setMaximumTraversalDepth(Integer maximumTraversalDepth)
The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Hudi metadata folder in your
Amazon S3 path.
|
void |
setPaths(Collection<String> paths)
An array of Amazon S3 location strings for Hudi, each indicating the root folder with which the metadata files
for a Hudi table resides.
|
String |
toString()
Returns a string representation of this object.
|
HudiTarget |
withConnectionName(String connectionName)
The name of the connection to use to connect to the Hudi target.
|
HudiTarget |
withExclusions(Collection<String> exclusions)
A list of glob patterns used to exclude from the crawl.
|
HudiTarget |
withExclusions(String... exclusions)
A list of glob patterns used to exclude from the crawl.
|
HudiTarget |
withMaximumTraversalDepth(Integer maximumTraversalDepth)
The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Hudi metadata folder in your
Amazon S3 path.
|
HudiTarget |
withPaths(Collection<String> paths)
An array of Amazon S3 location strings for Hudi, each indicating the root folder with which the metadata files
for a Hudi table resides.
|
HudiTarget |
withPaths(String... paths)
An array of Amazon S3 location strings for Hudi, each indicating the root folder with which the metadata files
for a Hudi table resides.
|
public List<String> getPaths()
An array of Amazon S3 location strings for Hudi, each indicating the root folder with which the metadata files for a Hudi table resides. The Hudi folder may be located in a child folder of the root folder.
The crawler will scan all folders underneath a path for a Hudi folder.
The crawler will scan all folders underneath a path for a Hudi folder.
public void setPaths(Collection<String> paths)
An array of Amazon S3 location strings for Hudi, each indicating the root folder with which the metadata files for a Hudi table resides. The Hudi folder may be located in a child folder of the root folder.
The crawler will scan all folders underneath a path for a Hudi folder.
paths
- An array of Amazon S3 location strings for Hudi, each indicating the root folder with which the metadata
files for a Hudi table resides. The Hudi folder may be located in a child folder of the root folder.
The crawler will scan all folders underneath a path for a Hudi folder.
public HudiTarget withPaths(String... paths)
An array of Amazon S3 location strings for Hudi, each indicating the root folder with which the metadata files for a Hudi table resides. The Hudi folder may be located in a child folder of the root folder.
The crawler will scan all folders underneath a path for a Hudi folder.
NOTE: This method appends the values to the existing list (if any). Use
setPaths(java.util.Collection)
or withPaths(java.util.Collection)
if you want to override the
existing values.
paths
- An array of Amazon S3 location strings for Hudi, each indicating the root folder with which the metadata
files for a Hudi table resides. The Hudi folder may be located in a child folder of the root folder.
The crawler will scan all folders underneath a path for a Hudi folder.
public HudiTarget withPaths(Collection<String> paths)
An array of Amazon S3 location strings for Hudi, each indicating the root folder with which the metadata files for a Hudi table resides. The Hudi folder may be located in a child folder of the root folder.
The crawler will scan all folders underneath a path for a Hudi folder.
paths
- An array of Amazon S3 location strings for Hudi, each indicating the root folder with which the metadata
files for a Hudi table resides. The Hudi folder may be located in a child folder of the root folder.
The crawler will scan all folders underneath a path for a Hudi folder.
public void setConnectionName(String connectionName)
The name of the connection to use to connect to the Hudi target. If your Hudi files are stored in buckets that require VPC authorization, you can set their connection properties here.
connectionName
- The name of the connection to use to connect to the Hudi target. If your Hudi files are stored in buckets
that require VPC authorization, you can set their connection properties here.public String getConnectionName()
The name of the connection to use to connect to the Hudi target. If your Hudi files are stored in buckets that require VPC authorization, you can set their connection properties here.
public HudiTarget withConnectionName(String connectionName)
The name of the connection to use to connect to the Hudi target. If your Hudi files are stored in buckets that require VPC authorization, you can set their connection properties here.
connectionName
- The name of the connection to use to connect to the Hudi target. If your Hudi files are stored in buckets
that require VPC authorization, you can set their connection properties here.public List<String> getExclusions()
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
public void setExclusions(Collection<String> exclusions)
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
exclusions
- A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.public HudiTarget withExclusions(String... exclusions)
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
NOTE: This method appends the values to the existing list (if any). Use
setExclusions(java.util.Collection)
or withExclusions(java.util.Collection)
if you want to
override the existing values.
exclusions
- A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.public HudiTarget withExclusions(Collection<String> exclusions)
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
exclusions
- A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.public void setMaximumTraversalDepth(Integer maximumTraversalDepth)
The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Hudi metadata folder in your Amazon S3 path. Used to limit the crawler run time.
maximumTraversalDepth
- The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Hudi metadata folder in
your Amazon S3 path. Used to limit the crawler run time.public Integer getMaximumTraversalDepth()
The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Hudi metadata folder in your Amazon S3 path. Used to limit the crawler run time.
public HudiTarget withMaximumTraversalDepth(Integer maximumTraversalDepth)
The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Hudi metadata folder in your Amazon S3 path. Used to limit the crawler run time.
maximumTraversalDepth
- The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Hudi metadata folder in
your Amazon S3 path. Used to limit the crawler run time.public String toString()
toString
in class Object
Object.toString()
public HudiTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.