Package com.exasol.adapter.sql
Class SqlFunctionAggregateListagg.Behavior
- java.lang.Object
-
- com.exasol.adapter.sql.SqlFunctionAggregateListagg.Behavior
-
- Enclosing class:
- SqlFunctionAggregateListagg
public static final class SqlFunctionAggregateListagg.Behavior extends Object
This class represent behavior ofSqlFunctionAggregateListagg.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSqlFunctionAggregateListagg.Behavior.TruncationTypeExpected truncation types.
-
Constructor Summary
Constructors Constructor Description Behavior(SqlFunctionAggregateListagg.BehaviorType behaviorType)Create a new instance ofSqlFunctionAggregateListagg.Behavior.Behavior(SqlFunctionAggregateListagg.BehaviorType behaviorType, SqlFunctionAggregateListagg.Behavior.TruncationType truncationType, SqlLiteralString truncationFiller)Create a new fully initialized instance ofSqlFunctionAggregateListagg.Behavior.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object object)SqlFunctionAggregateListagg.BehaviorTypegetBehaviorType()Get a behavior type.SqlLiteralStringgetTruncationFiller()Get a truncation filler.StringgetTruncationType()Get a truncation type.inthashCode()booleanhasTruncationFiller()Check if a truncation filler exists.voidsetTruncationFiller(SqlLiteralString truncationFiller)Deprecated, for removal: This API element is subject to removal in a future version.The behavior of the LISTAGG function is immutable and can not be changed after the creation of the object.voidsetTruncationType(SqlFunctionAggregateListagg.Behavior.TruncationType truncationType)Deprecated, for removal: This API element is subject to removal in a future version.The behavior of the LISTAGG function is immutable and can not be changed after the creation of the object.
-
-
-
Constructor Detail
-
Behavior
public Behavior(SqlFunctionAggregateListagg.BehaviorType behaviorType)
Create a new instance ofSqlFunctionAggregateListagg.Behavior.- Parameters:
behaviorType- behavior type
-
Behavior
public Behavior(SqlFunctionAggregateListagg.BehaviorType behaviorType, SqlFunctionAggregateListagg.Behavior.TruncationType truncationType, SqlLiteralString truncationFiller)
Create a new fully initialized instance ofSqlFunctionAggregateListagg.Behavior.- Parameters:
behaviorType- behavior typetruncationType- truncation typetruncationFiller- truncation filler
-
-
Method Detail
-
getTruncationType
public String getTruncationType()
Get a truncation type.- Returns:
- truncation type
-
setTruncationType
@Deprecated(since="18.0.2", forRemoval=true) public void setTruncationType(SqlFunctionAggregateListagg.Behavior.TruncationType truncationType)
Deprecated, for removal: This API element is subject to removal in a future version.The behavior of the LISTAGG function is immutable and can not be changed after the creation of the object.Set a truncation type.- Parameters:
truncationType- truncation type
-
getTruncationFiller
public SqlLiteralString getTruncationFiller()
Get a truncation filler.- Returns:
- truncation filler
-
setTruncationFiller
@Deprecated(since="18.0.2", forRemoval=true) public void setTruncationFiller(SqlLiteralString truncationFiller)
Deprecated, for removal: This API element is subject to removal in a future version.The behavior of the LISTAGG function is immutable and can not be changed after the creation of the object.Set a truncation filler.- Parameters:
truncationFiller- truncation filler
-
hasTruncationFiller
public boolean hasTruncationFiller()
Check if a truncation filler exists.- Returns:
- true if a truncation filler exists
-
getBehaviorType
public SqlFunctionAggregateListagg.BehaviorType getBehaviorType()
Get a behavior type.- Returns:
- behavior type
-
-