@Generated(value="software.amazon.awssdk:codegen") public final class SqlConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SqlConfiguration.Builder,SqlConfiguration>
Provides the configuration information to use a SQL database.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SqlConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SqlConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
QueryIdentifiersEnclosingOption |
queryIdentifiersEnclosingOption()
Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (") when
making a database query.
|
String |
queryIdentifiersEnclosingOptionAsString()
Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (") when
making a database query.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SqlConfiguration.Builder> |
serializableBuilderClass() |
SqlConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
If the service returns an enum value that is not available in the current SDK version,
queryIdentifiersEnclosingOption will return
QueryIdentifiersEnclosingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from queryIdentifiersEnclosingOptionAsString().
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 final String queryIdentifiersEnclosingOptionAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
queryIdentifiersEnclosingOption will return
QueryIdentifiersEnclosingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from queryIdentifiersEnclosingOptionAsString().
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SqlConfiguration.Builder,SqlConfiguration>public static SqlConfiguration.Builder builder()
public static Class<? extends SqlConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.