Class Partition
java.lang.Object
org.wso2.siddhi.query.api.execution.partition.Partition
- All Implemented Interfaces:
ExecutionElement
Partition class is used to represent the definition of
a partition for a Siddhi instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotation(Annotation annotation) booleaninthashCode()static Partitionrange(String partitionKey, Expression condition) toString()with(String streamId, RangePartitionType.RangePartitionProperty... rangePartitionProperties) with(String streamId, Expression expression) with(PartitionType partitionType)
-
Constructor Details
-
Partition
public Partition()
-
-
Method Details
-
partition
-
getPartitionTypeMap
-
with
-
with
public Partition with(String streamId, RangePartitionType.RangePartitionProperty... rangePartitionProperties) -
with
-
addQuery
-
getQueryList
-
range
public static RangePartitionType.RangePartitionProperty range(String partitionKey, Expression condition) -
annotation
-
getAnnotations
- Specified by:
getAnnotationsin interfaceExecutionElement
-
toString
-
equals
-
hashCode
public int hashCode()
-