Class FilterSubscriptionImpl<TypeMetadata, AttributeMetadata, AttributeId extends Comparable<AttributeId>>
java.lang.Object
org.infinispan.query.objectfilter.impl.FilterSubscriptionImpl<TypeMetadata, AttributeMetadata, AttributeId>
- All Implemented Interfaces:
FilterSubscription
public final class FilterSubscriptionImpl<TypeMetadata, AttributeMetadata, AttributeId extends Comparable<AttributeId>>
extends Object
implements FilterSubscription
- Since:
- 7.0
- Author:
- anistor@redhat.com
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.query.objectfilter.impl.predicateindex.be.BETreeThe associated callback that is being notified of successful matches.Comparator<Comparable<?>[]> The comparator corresponding to the 'order by' clause, if any.The fully qualified entity type name accepted by this filter.Object[]The event types.String[]The array of '.' separated path names of the projected fields if any, ornullotherwise.Class<?>[]The array of sort specifications if defined, ornullotherwise.booleanvoidregisterProjection(org.infinispan.query.objectfilter.impl.predicateindex.PredicateIndex<AttributeMetadata, AttributeId> predicateIndex) voidsubscribe(org.infinispan.query.objectfilter.impl.predicateindex.PredicateIndex<AttributeMetadata, AttributeId> predicateIndex) voidunregisterProjection(org.infinispan.query.objectfilter.impl.predicateindex.PredicateIndex<AttributeMetadata, AttributeId> predicateIndex) voidunsubscribe(org.infinispan.query.objectfilter.impl.predicateindex.PredicateIndex<AttributeMetadata, AttributeId> predicateIndex) boolean
-
Field Details
-
index
public int index
-
-
Method Details
-
getQueryString
-
getNamedParameters
-
useIntervals
public boolean useIntervals() -
getBETree
public org.infinispan.query.objectfilter.impl.predicateindex.be.BETree getBETree() -
getEntityTypeName
Description copied from interface:FilterSubscriptionThe fully qualified entity type name accepted by this filter.- Specified by:
getEntityTypeNamein interfaceFilterSubscription
-
getMetadataAdapter
-
getCallback
Description copied from interface:FilterSubscriptionThe associated callback that is being notified of successful matches.- Specified by:
getCallbackin interfaceFilterSubscription
-
isDeltaFilter
public boolean isDeltaFilter()- Specified by:
isDeltaFilterin interfaceFilterSubscription
-
getProjection
Description copied from interface:FilterSubscriptionThe array of '.' separated path names of the projected fields if any, ornullotherwise.- Specified by:
getProjectionin interfaceFilterSubscription
-
getProjectionTypes
-
getSortFields
Description copied from interface:FilterSubscriptionThe array of sort specifications if defined, ornullotherwise.- Specified by:
getSortFieldsin interfaceFilterSubscription
-
getComparator
Description copied from interface:FilterSubscriptionThe comparator corresponding to the 'order by' clause, if any.- Specified by:
getComparatorin interfaceFilterSubscription- Returns:
- the Comparator or
nullif no 'order by' was specified
-
getEventTypes
Description copied from interface:FilterSubscriptionThe event types.- Specified by:
getEventTypesin interfaceFilterSubscription- Returns:
- the array of event types or null
-
registerProjection
public void registerProjection(org.infinispan.query.objectfilter.impl.predicateindex.PredicateIndex<AttributeMetadata, AttributeId> predicateIndex) -
unregisterProjection
public void unregisterProjection(org.infinispan.query.objectfilter.impl.predicateindex.PredicateIndex<AttributeMetadata, AttributeId> predicateIndex) -
subscribe
public void subscribe(org.infinispan.query.objectfilter.impl.predicateindex.PredicateIndex<AttributeMetadata, AttributeId> predicateIndex) -
unsubscribe
public void unsubscribe(org.infinispan.query.objectfilter.impl.predicateindex.PredicateIndex<AttributeMetadata, AttributeId> predicateIndex)
-