@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.
JdbcMetadataEntry
public 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.
JdbcMetadataEntry
public 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.
JdbcMetadataEntry
public 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.
JdbcMetadataEntry
public 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.
JdbcMetadataEntry
public String toString()
toString
in class Object
Object.toString()
public JdbcTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.