Package com.exasol.adapter.sql
Class SqlFunctionScalarJsonValue.Behavior
- java.lang.Object
-
- com.exasol.adapter.sql.SqlFunctionScalarJsonValue.Behavior
-
- Enclosing class:
- SqlFunctionScalarJsonValue
public static class SqlFunctionScalarJsonValue.Behavior extends Object
This class represent behavior ofSqlFunctionScalarJsonValue
on error or empty.
-
-
Constructor Summary
Constructors Constructor Description Behavior(SqlFunctionScalarJsonValue.BehaviorType behaviorType, Optional<SqlNode> expression)
Instantiates a new Behavior.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
String
getBehaviorType()
Gets behavior type.Optional<SqlNode>
getExpression()
Gets expression.int
hashCode()
-
-
-
Constructor Detail
-
Behavior
public Behavior(SqlFunctionScalarJsonValue.BehaviorType behaviorType, Optional<SqlNode> expression)
Instantiates a new Behavior.- Parameters:
behaviorType
- the behavior typeexpression
- the expression
-
-
Method Detail
-
getBehaviorType
public String getBehaviorType()
Gets behavior type.- Returns:
- the behavior type
-
-