Package adalid.core.expressions
Class AbstractRowsAggregateX
- java.lang.Object
-
- adalid.core.AbstractArtifact
-
- adalid.core.AbstractExpression
-
- adalid.core.expressions.AbstractRowsAggregateX
-
- All Implemented Interfaces:
Wrappable,Artifact,Expression,NaryExpression,NaryOperation,RowsAggregateX,TypedArtifact
- Direct Known Subclasses:
BooleanRowsAggregateX,CharacterRowsAggregateX,NumericRowsAggregateX,TemporalRowsAggregateX
public abstract class AbstractRowsAggregateX extends AbstractExpression implements RowsAggregateX
- Author:
- Jorge Campins
-
-
Field Summary
-
Fields inherited from class adalid.core.AbstractArtifact
ENGLISH, NBSP, PORTUGUESE, SPANISH
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractRowsAggregateX(RowsAggregateOp operator, Object measure)protectedAbstractRowsAggregateX(RowsAggregateOp operator, Object measure, Entity dimension)protectedAbstractRowsAggregateX(RowsAggregateOp operator, Object measure, Segment filter)protectedAbstractRowsAggregateX(RowsAggregateOp operator, Object measure, Segment filter, Entity dimension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringfieldsToString(int n, String key, boolean verbose, boolean fields, boolean maps)EntitygetDimension()SegmentgetFilter()ObjectgetMeasure()Object[]getOperands()RowsAggregateOpgetOperator()-
Methods inherited from class adalid.core.AbstractExpression
checkArguments, checkUnusualArguments, checkUnusualInstance, copyDataType, finalise, getCorrespondingReferencedColumnsList, getCrossReferencedExpressionsKey, getCrossReferencedExpressionsSet, getCrossReferencedExpressionsSet, getDataType, getDefaultWrapperClass, getExpressionString, getFinalStateBusinessOperationsList, getForeignExpression, getForeignExpressionField, getForeignExpressionName, getForeignExpressionType, getInitialStateBusinessOperationsList, getObjectDataType, getParentExpression, getReferencedColumnsList, getReferencedColumnsMap, getReferencedJoinsList, getReferencedJoinsList, getReferencedJoinsMap, getReferencedJoinsMap, getStringsSet, getVerifiedUsages, isBooleanExpression, isCharacterExpression, isComparisonExpression, isConditionalExpression, isCrossReferencedExpression, isDataAggregateExpression, isEntityExpression, isNumericExpression, isOrderedPairExpression, isRowsAggregateExpression, isScalarExpression, isSingleEntityExpression, isSingleEntityExpression, isTemporalExpression, isVariantExpression, setDataType, setForeignExpressionField
-
Methods inherited from class adalid.core.AbstractArtifact
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, annotate, checkName, classToString, clearAttributes, coalesce, copyLocalizedStrings, defaultLocale, depth, fa, getAlias, getAttribute, getAttribute, getAttributes, getAttributesArray, getAttributesArray, getAttributesKeySetByRegex, getBooleanAttribute, getBooleanAttribute, getClassPath, getDeclaringArtifact, getDeclaringEntity, getDeclaringEntityRoot, getDeclaringField, getDeclaringFieldEntityRoot, getDeclaringFieldIndex, getDeclaringFieldNamedClassSimpleName, getDeclaringFieldPersistentEntityRoot, getDeclaringFieldPersistentEntityTableRoot, getDeclaringOperation, getDeclaringPersistentEntity, getDeclaringPersistentEntityRoot, getDefaultCollectionLabel, getDefaultCollectionShortLabel, getDefaultDescription, getDefaultLabel, getDefaultLocale, getDefaultShortDescription, getDefaultShortLabel, getDefaultSymbol, getDefaultTooltip, getFullName, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getLocalizedCollectionLabel, getLocalizedCollectionShortLabel, getLocalizedDescription, getLocalizedLabel, getLocalizedShortDescription, getLocalizedShortLabel, getLocalizedSymbol, getLocalizedTooltip, getName, getPartialName, getPathList, getPathString, getSqlName, getStringAttribute, getStringAttribute, getStringAttribute, getStringAttribute, getTrace, getValidFieldAnnotations, getValidTypeAnnotations, getValueString, getValueString, getWrapper, hashCodeHexString, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isFontAwesomeClass, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isLocalizedSymbolDefined, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, isValidEmbeddedDocument, isValidFieldAnnotation, isValidHelpFileName, isValidHelpFileType, isValidJavaClassName, isValidSnippetFileName, isValidTypeAnnotation, localeReadingKey, localeWritingKey, mapsToString, put, repeat, round, setAlias, setDefaultCollectionLabel, setDefaultCollectionShortLabel, setDefaultDescription, setDefaultLabel, setDefaultShortDescription, setDefaultShortLabel, setDefaultSymbol, setDefaultTooltip, setLocalizedCollectionLabel, setLocalizedCollectionShortLabel, setLocalizedDescription, setLocalizedLabel, setLocalizedShortDescription, setLocalizedShortLabel, setLocalizedSymbol, setLocalizedTooltip, setSqlName, setStaticAttributes, settler, setTrace, specified, specified, specified, specified, specified, specified, toString, toString, toString, toString, toString, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyNames
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adalid.core.interfaces.Artifact
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, clearAttributes, depth, finalise, getAlias, getAttribute, getAttribute, getClassPath, getDeclaringArtifact, getDeclaringEntity, getDeclaringEntityRoot, getDeclaringField, getDeclaringFieldEntityRoot, getDeclaringFieldIndex, getDeclaringFieldPersistentEntityRoot, getDeclaringFieldPersistentEntityTableRoot, getDeclaringOperation, getDeclaringPersistentEntity, getDeclaringPersistentEntityRoot, getDefaultCollectionLabel, getDefaultCollectionShortLabel, getDefaultDescription, getDefaultLabel, getDefaultLocale, getDefaultShortDescription, getDefaultShortLabel, getDefaultSymbol, getDefaultTooltip, getFullName, getLocalizedCollectionLabel, getLocalizedCollectionShortLabel, getLocalizedDescription, getLocalizedLabel, getLocalizedShortDescription, getLocalizedShortLabel, getLocalizedSymbol, getLocalizedTooltip, getName, getPartialName, getPathList, getPathString, getSqlName, hashCodeHexString, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, put, round, setAlias, setDefaultCollectionLabel, setDefaultCollectionShortLabel, setDefaultDescription, setDefaultLabel, setDefaultShortDescription, setDefaultShortLabel, setDefaultSymbol, setDefaultTooltip, setLocalizedCollectionLabel, setLocalizedCollectionShortLabel, setLocalizedDescription, setLocalizedLabel, setLocalizedShortDescription, setLocalizedShortLabel, setLocalizedSymbol, setLocalizedTooltip, setSqlName, toString, toString, toString, toString
-
Methods inherited from interface adalid.core.interfaces.Expression
getCrossReferencedExpressionsKey, getCrossReferencedExpressionsSet, getCrossReferencedExpressionsSet, getExpressionString, getParentExpression, getReferencedColumnsList, getReferencedColumnsMap, getReferencedJoinsList, getReferencedJoinsList, getReferencedJoinsMap, getReferencedJoinsMap, getStringsSet, getVerifiedUsages, isCrossReferencedExpression, isSingleEntityExpression, isSingleEntityExpression
-
Methods inherited from interface adalid.core.interfaces.TypedArtifact
getDataType
-
-
-
-
Constructor Detail
-
AbstractRowsAggregateX
protected AbstractRowsAggregateX(RowsAggregateOp operator, Object measure)
-
AbstractRowsAggregateX
protected AbstractRowsAggregateX(RowsAggregateOp operator, Object measure, Segment filter)
-
AbstractRowsAggregateX
protected AbstractRowsAggregateX(RowsAggregateOp operator, Object measure, Entity dimension)
-
AbstractRowsAggregateX
protected AbstractRowsAggregateX(RowsAggregateOp operator, Object measure, Segment filter, Entity dimension)
-
-
Method Detail
-
getOperator
public RowsAggregateOp getOperator()
- Specified by:
getOperatorin interfaceExpression- Specified by:
getOperatorin interfaceNaryOperation- Specified by:
getOperatorin interfaceRowsAggregateX- Returns:
- the operator
-
getOperands
public Object[] getOperands()
- Specified by:
getOperandsin interfaceExpression- Specified by:
getOperandsin interfaceNaryOperation- Returns:
- the operands
-
getMeasure
public Object getMeasure()
- Specified by:
getMeasurein interfaceRowsAggregateX- Returns:
- the operand
-
getFilter
public Segment getFilter()
- Specified by:
getFilterin interfaceRowsAggregateX- Returns:
- the segment
-
getDimension
public Entity getDimension()
- Specified by:
getDimensionin interfaceRowsAggregateX- Returns:
- the property
-
fieldsToString
protected String fieldsToString(int n, String key, boolean verbose, boolean fields, boolean maps)
- Overrides:
fieldsToStringin classAbstractExpression
-
-