@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SqlConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that configures Amazon Kendra to use a SQL database.
| Constructor and Description |
|---|
SqlConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
SqlConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getQueryIdentifiersEnclosingOption()
Determines whether Amazon Kendra encloses SQL identifiers in double quotes (") when making a database query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setQueryIdentifiersEnclosingOption(String queryIdentifiersEnclosingOption)
Determines whether Amazon Kendra encloses SQL identifiers in double quotes (") when making a database query.
|
String |
toString()
Returns a string representation of this object.
|
SqlConfiguration |
withQueryIdentifiersEnclosingOption(QueryIdentifiersEnclosingOption queryIdentifiersEnclosingOption)
Determines whether Amazon Kendra encloses SQL identifiers in double quotes (") when making a database query.
|
SqlConfiguration |
withQueryIdentifiersEnclosingOption(String queryIdentifiersEnclosingOption)
Determines whether Amazon Kendra encloses SQL identifiers in double quotes (") when making a database query.
|
public void setQueryIdentifiersEnclosingOption(String queryIdentifiersEnclosingOption)
Determines whether Amazon Kendra encloses SQL identifiers in double quotes (") when making a database query.
By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.
PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case.
For MySQL databases, you must enable the ansi_quotes option when you choose this option.
queryIdentifiersEnclosingOption - Determines whether Amazon Kendra encloses SQL identifiers in double quotes (") when making a database
query.
By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.
PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case.
For MySQL databases, you must enable the ansi_quotes option when you choose this option.
QueryIdentifiersEnclosingOptionpublic String getQueryIdentifiersEnclosingOption()
Determines whether Amazon Kendra encloses SQL identifiers in double quotes (") when making a database query.
By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.
PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case.
For MySQL databases, you must enable the ansi_quotes option when you choose this option.
By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.
PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case.
For MySQL databases, you must enable the ansi_quotes option when you choose this option.
QueryIdentifiersEnclosingOptionpublic SqlConfiguration withQueryIdentifiersEnclosingOption(String queryIdentifiersEnclosingOption)
Determines whether Amazon Kendra encloses SQL identifiers in double quotes (") when making a database query.
By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.
PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case.
For MySQL databases, you must enable the ansi_quotes option when you choose this option.
queryIdentifiersEnclosingOption - Determines whether Amazon Kendra encloses SQL identifiers in double quotes (") when making a database
query.
By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.
PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case.
For MySQL databases, you must enable the ansi_quotes option when you choose this option.
QueryIdentifiersEnclosingOptionpublic SqlConfiguration withQueryIdentifiersEnclosingOption(QueryIdentifiersEnclosingOption queryIdentifiersEnclosingOption)
Determines whether Amazon Kendra encloses SQL identifiers in double quotes (") when making a database query.
By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.
PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case.
For MySQL databases, you must enable the ansi_quotes option when you choose this option.
queryIdentifiersEnclosingOption - Determines whether Amazon Kendra encloses SQL identifiers in double quotes (") when making a database
query.
By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.
PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case.
For MySQL databases, you must enable the ansi_quotes option when you choose this option.
QueryIdentifiersEnclosingOptionpublic String toString()
toString in class ObjectObject.toString()public SqlConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.