Class Count
java.lang.Object
org.iplass.mtp.entity.query.value.ValueExpression
org.iplass.mtp.entity.query.value.primary.PrimaryValue
org.iplass.mtp.entity.query.value.aggregate.Aggregate
org.iplass.mtp.entity.query.value.aggregate.Count
- All Implemented Interfaces:
Serializable
,ASTNode
COUNT関数を表す。
集計対象の指定は任意(未指定の場合は、件数をカウント)。
distinct指定した場合は、ユニーク数のカウント。
- See Also:
-
Constructor Summary
ConstructorDescriptionCount()
Count
(ValueExpression value) Count
(ValueExpression value, boolean isDistinct) -
Method Summary
Modifier and TypeMethodDescriptionaccept
(ASTTransformer transformer) void
accept
(ValueExpressionVisitor visitor) boolean
protected String
int
hashCode()
boolean
void
setDistinct
(boolean isDistinct) toString()
Methods inherited from class org.iplass.mtp.entity.query.value.aggregate.Aggregate
getValue, setValue
Methods inherited from class org.iplass.mtp.entity.query.value.ValueExpression
newValue
-
Constructor Details
-
Count
public Count() -
Count
-
Count
-
Count
-
Count
-
-
Method Details
-
accept
- Specified by:
accept
in classValueExpression
-
isDistinct
public boolean isDistinct() -
setDistinct
public void setDistinct(boolean isDistinct) -
toString
-
getFuncName
- Specified by:
getFuncName
in classAggregate
-
accept
-
hashCode
public int hashCode() -
equals
-