@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JdbcTarget extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a JDBC data store to crawl.
| Constructor and Description |
|---|
JdbcTarget() |
| Modifier and Type | Method and Description |
|---|---|
JdbcTarget |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionName()
The name of the connection to use to connect to the JDBC target.
|
List<String> |
getEnableAdditionalMetadata()
Specify a value of
RAWTYPES or COMMENTS to enable additional metadata in table
responses. |
List<String> |
getExclusions()
A list of glob patterns used to exclude from the crawl.
|
String |
getPath()
The path of the JDBC target.
|
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 JDBC target.
|
void |
setEnableAdditionalMetadata(Collection<String> enableAdditionalMetadata)
Specify a value of
RAWTYPES or COMMENTS to enable additional metadata in table
responses. |
void |
setExclusions(Collection<String> exclusions)
A list of glob patterns used to exclude from the crawl.
|
void |
setPath(String path)
The path of the JDBC target.
|
String |
toString()
Returns a string representation of this object.
|
JdbcTarget |
withConnectionName(String connectionName)
The name of the connection to use to connect to the JDBC target.
|
JdbcTarget |
withEnableAdditionalMetadata(Collection<String> enableAdditionalMetadata)
Specify a value of
RAWTYPES or COMMENTS to enable additional metadata in table
responses. |
JdbcTarget |
withEnableAdditionalMetadata(JdbcMetadataEntry... enableAdditionalMetadata)
Specify a value of
RAWTYPES or COMMENTS to enable additional metadata in table
responses. |
JdbcTarget |
withEnableAdditionalMetadata(String... enableAdditionalMetadata)
Specify a value of
RAWTYPES or COMMENTS to enable additional metadata in table
responses. |
JdbcTarget |
withExclusions(Collection<String> exclusions)
A list of glob patterns used to exclude from the crawl.
|
JdbcTarget |
withExclusions(String... exclusions)
A list of glob patterns used to exclude from the crawl.
|
JdbcTarget |
withPath(String path)
The path of the JDBC target.
|
public void setConnectionName(String connectionName)
The name of the connection to use to connect to the JDBC target.
connectionName - The name of the connection to use to connect to the JDBC target.public String getConnectionName()
The name of the connection to use to connect to the JDBC target.
public JdbcTarget withConnectionName(String connectionName)
The name of the connection to use to connect to the JDBC target.
connectionName - The name of the connection to use to connect to the JDBC target.public void setPath(String path)
The path of the JDBC target.
path - The path of the JDBC target.public String getPath()
The path of the JDBC target.
public JdbcTarget withPath(String path)
The path of the JDBC target.
path - The path of the JDBC target.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 JdbcTarget 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 JdbcTarget 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 List<String> getEnableAdditionalMetadata()
Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table
responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments
associated with a column or table in the database.
If you do not need additional metadata, keep the field empty.
RAWTYPES or COMMENTS to enable additional metadata in table
responses. RAWTYPES provides the native-level datatype. COMMENTS provides
comments associated with a column or table in the database.
If you do not need additional metadata, keep the field empty.
JdbcMetadataEntrypublic void setEnableAdditionalMetadata(Collection<String> enableAdditionalMetadata)
Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table
responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments
associated with a column or table in the database.
If you do not need additional metadata, keep the field empty.
enableAdditionalMetadata - Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table
responses. RAWTYPES provides the native-level datatype. COMMENTS provides
comments associated with a column or table in the database.
If you do not need additional metadata, keep the field empty.
JdbcMetadataEntrypublic JdbcTarget withEnableAdditionalMetadata(String... enableAdditionalMetadata)
Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table
responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments
associated with a column or table in the database.
If you do not need additional metadata, keep the field empty.
NOTE: This method appends the values to the existing list (if any). Use
setEnableAdditionalMetadata(java.util.Collection) or
withEnableAdditionalMetadata(java.util.Collection) if you want to override the existing values.
enableAdditionalMetadata - Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table
responses. RAWTYPES provides the native-level datatype. COMMENTS provides
comments associated with a column or table in the database.
If you do not need additional metadata, keep the field empty.
JdbcMetadataEntrypublic JdbcTarget withEnableAdditionalMetadata(Collection<String> enableAdditionalMetadata)
Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table
responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments
associated with a column or table in the database.
If you do not need additional metadata, keep the field empty.
enableAdditionalMetadata - Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table
responses. RAWTYPES provides the native-level datatype. COMMENTS provides
comments associated with a column or table in the database.
If you do not need additional metadata, keep the field empty.
JdbcMetadataEntrypublic JdbcTarget withEnableAdditionalMetadata(JdbcMetadataEntry... enableAdditionalMetadata)
Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table
responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments
associated with a column or table in the database.
If you do not need additional metadata, keep the field empty.
enableAdditionalMetadata - Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table
responses. RAWTYPES provides the native-level datatype. COMMENTS provides
comments associated with a column or table in the database.
If you do not need additional metadata, keep the field empty.
JdbcMetadataEntrypublic String toString()
toString in class ObjectObject.toString()public JdbcTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.