- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.FilterOverImpl
-
- net.sf.jsqlparser.expression.JsonAggregateFunction
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Model
,ASTNodeAccess
public class JsonAggregateFunction extends FilterOverImpl implements Expression
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Expression
expression
private OrderByClause
expressionOrderBy
private JsonFunctionType
functionType
private java.lang.String
key
private JsonAggregateOnNullType
onNullType
private JsonAggregateUniqueKeysType
uniqueKeysType
private boolean
usingFormatJson
private boolean
usingKeyKeyword
private boolean
usingValueKeyword
private java.lang.Object
value
-
Constructor Summary
Constructors Constructor Description JsonAggregateFunction()
-
Method Summary
-
Methods inherited from class net.sf.jsqlparser.expression.FilterOverImpl
getAnalyticType, getFilterExpression, getOrderByElements, getPartitionExpressionList, getWindowElement, isPartitionByBrackets, setAnalyticType, setFilterExpression, setOrderByElements, setPartitionExpressionList, setPartitionExpressionList, setWindowElement, withAnalyticType, withFilterExpression, withOrderByElements, withWindowElement
-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, getParent, getParent, setASTNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.jsqlparser.parser.ASTNodeAccess
getASTNode, setASTNode
-
Methods inherited from interface net.sf.jsqlparser.expression.Expression
accept
-
-
-
-
Field Detail
-
expressionOrderBy
private final OrderByClause expressionOrderBy
-
functionType
private JsonFunctionType functionType
-
expression
private Expression expression
-
usingKeyKeyword
private boolean usingKeyKeyword
-
key
private java.lang.String key
-
usingValueKeyword
private boolean usingValueKeyword
-
value
private java.lang.Object value
-
usingFormatJson
private boolean usingFormatJson
-
onNullType
private JsonAggregateOnNullType onNullType
-
uniqueKeysType
private JsonAggregateUniqueKeysType uniqueKeysType
-
-
Method Detail
-
getOnNullType
public JsonAggregateOnNullType getOnNullType()
-
setOnNullType
public void setOnNullType(JsonAggregateOnNullType onNullType)
-
withOnNullType
public JsonAggregateFunction withOnNullType(JsonAggregateOnNullType onNullType)
-
getUniqueKeysType
public JsonAggregateUniqueKeysType getUniqueKeysType()
-
setUniqueKeysType
public void setUniqueKeysType(JsonAggregateUniqueKeysType uniqueKeysType)
-
withUniqueKeysType
public JsonAggregateFunction withUniqueKeysType(JsonAggregateUniqueKeysType uniqueKeysType)
-
getType
public JsonFunctionType getType()
-
setType
public void setType(JsonFunctionType type)
-
setType
public void setType(java.lang.String typeName)
-
withType
public JsonAggregateFunction withType(JsonFunctionType type)
-
withType
public JsonAggregateFunction withType(java.lang.String typeName)
-
getExpression
public Expression getExpression()
-
setExpression
public void setExpression(Expression expression)
-
withExpression
public JsonAggregateFunction withExpression(Expression expression)
-
isUsingKeyKeyword
public boolean isUsingKeyKeyword()
-
setUsingKeyKeyword
public void setUsingKeyKeyword(boolean usingKeyKeyword)
-
withUsingKeyKeyword
public JsonAggregateFunction withUsingKeyKeyword(boolean usingKeyKeyword)
-
getKey
public java.lang.String getKey()
-
setKey
public void setKey(java.lang.String key)
-
withKey
public JsonAggregateFunction withKey(java.lang.String key)
-
isUsingValueKeyword
public boolean isUsingValueKeyword()
-
setUsingValueKeyword
public void setUsingValueKeyword(boolean usingValueKeyword)
-
withUsingValueKeyword
public JsonAggregateFunction withUsingValueKeyword(boolean usingValueKeyword)
-
getValue
public java.lang.Object getValue()
-
setValue
public void setValue(java.lang.Object value)
-
withValue
public JsonAggregateFunction withValue(java.lang.Object value)
-
isUsingFormatJson
public boolean isUsingFormatJson()
-
setUsingFormatJson
public void setUsingFormatJson(boolean usingFormatJson)
-
withUsingFormatJson
public JsonAggregateFunction withUsingFormatJson(boolean usingFormatJson)
-
getExpressionOrderByElements
public java.util.List<OrderByElement> getExpressionOrderByElements()
-
setExpressionOrderByElements
public void setExpressionOrderByElements(java.util.List<OrderByElement> orderByElements)
-
withExpressionOrderByElements
public JsonAggregateFunction withExpressionOrderByElements(java.util.List<OrderByElement> orderByElements)
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
- Specified by:
accept
in interfaceExpression
-
append
public java.lang.StringBuilder append(java.lang.StringBuilder builder)
- Overrides:
append
in classFilterOverImpl
-
appendObject
public java.lang.StringBuilder appendObject(java.lang.StringBuilder builder)
-
appendArray
public java.lang.StringBuilder appendArray(java.lang.StringBuilder builder)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classFilterOverImpl
-
-