Package com.databend.jdbc
Class ConnectionProperties.StrNullAsNull
java.lang.Object
com.databend.jdbc.ConnectionProperties.StrNullAsNull
- Enclosing class:
- ConnectionProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final java.util.function.Predicate<Properties>protected static final com.databend.jdbc.AbstractConnectionProperty.Converter<Boolean>protected static final com.databend.jdbc.AbstractConnectionProperty.Converter<File>protected static final com.databend.jdbc.AbstractConnectionProperty.Converter<Integer>protected static final com.databend.jdbc.AbstractConnectionProperty.Converter<String>protected static final java.util.function.Predicate<Properties>protected static final com.databend.jdbc.AbstractConnectionProperty.Converter<String> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static <T> java.util.function.Predicate<T>checkedPredicate(com.databend.jdbc.AbstractConnectionProperty.CheckedPredicate<T> predicate) getDriverPropertyInfo(Properties mergedProperties) getKey()default BooleangetRequiredValue(Properties properties) getValue(Properties properties) booleanisAllowed(Properties properties) booleanisRequired(Properties properties) voidvalidate(Properties properties)
-
Field Details
-
NOT_REQUIRED
-
ALLOWED
-
STRING_CONVERTER
protected static final com.databend.jdbc.AbstractConnectionProperty.Converter<String> STRING_CONVERTER -
NON_EMPTY_STRING_CONVERTER
protected static final com.databend.jdbc.AbstractConnectionProperty.Converter<String> NON_EMPTY_STRING_CONVERTER -
FILE_CONVERTER
-
BOOLEAN_CONVERTER
protected static final com.databend.jdbc.AbstractConnectionProperty.Converter<Boolean> BOOLEAN_CONVERTER -
INTEGER_CONVERTER
protected static final com.databend.jdbc.AbstractConnectionProperty.Converter<Integer> INTEGER_CONVERTER
-
-
Constructor Details
-
StrNullAsNull
public StrNullAsNull()
-
-
Method Details
-
checkedPredicate
protected static <T> java.util.function.Predicate<T> checkedPredicate(com.databend.jdbc.AbstractConnectionProperty.CheckedPredicate<T> predicate) -
getKey
-
getDefault
-
isRequired
-
isAllowed
-
getValue
- Throws:
SQLException
-
getDriverPropertyInfo
-
validate
- Throws:
SQLException
-
getRequiredValue
- Throws:
SQLException
-