@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SqlConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information 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 for tables and column names in double quotes (") when
making a database query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setQueryIdentifiersEnclosingOption(String queryIdentifiersEnclosingOption)
Determines whether Amazon Kendra encloses SQL identifiers for tables and column names 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 for tables and column names in double quotes (") when
making a database query.
|
SqlConfiguration |
withQueryIdentifiersEnclosingOption(String queryIdentifiersEnclosingOption)
Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (") when
making a database query.
|
public void setQueryIdentifiersEnclosingOption(String queryIdentifiersEnclosingOption)
Determines whether Amazon Kendra encloses SQL identifiers for tables and column names 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 set this field to
DOUBLE_QUOTES.
queryIdentifiersEnclosingOption - Determines whether Amazon Kendra encloses SQL identifiers for tables and column names 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 set this field to
DOUBLE_QUOTES.
QueryIdentifiersEnclosingOptionpublic String getQueryIdentifiersEnclosingOption()
Determines whether Amazon Kendra encloses SQL identifiers for tables and column names 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 set this field to
DOUBLE_QUOTES.
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 set this field to
DOUBLE_QUOTES.
QueryIdentifiersEnclosingOptionpublic SqlConfiguration withQueryIdentifiersEnclosingOption(String queryIdentifiersEnclosingOption)
Determines whether Amazon Kendra encloses SQL identifiers for tables and column names 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 set this field to
DOUBLE_QUOTES.
queryIdentifiersEnclosingOption - Determines whether Amazon Kendra encloses SQL identifiers for tables and column names 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 set this field to
DOUBLE_QUOTES.
QueryIdentifiersEnclosingOptionpublic SqlConfiguration withQueryIdentifiersEnclosingOption(QueryIdentifiersEnclosingOption queryIdentifiersEnclosingOption)
Determines whether Amazon Kendra encloses SQL identifiers for tables and column names 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 set this field to
DOUBLE_QUOTES.
queryIdentifiersEnclosingOption - Determines whether Amazon Kendra encloses SQL identifiers for tables and column names 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 set this field to
DOUBLE_QUOTES.
QueryIdentifiersEnclosingOptionpublic String toString()
toString in class ObjectObject.toString()public SqlConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.