/** * Checks if the restrictions on the partition key are token restrictions. * * @return <code>true</code> if the restrictions on the partition key are token restrictions, * <code>false</code> otherwise. */ public boolean isPartitionKeyRestrictionsOnToken() { return partitionKeyRestrictions.isOnToken(); }
/** * Checks if the restrictions on the partition key are token restrictions. * * @return <code>true</code> if the restrictions on the partition key are token restrictions, * <code>false</code> otherwise. */ public boolean isPartitionKeyRestrictionsOnToken() { return partitionKeyRestrictions.isOnToken(); }
/** * Checks if the restrictions on the partition key are token restrictions. * * @return <code>true</code> if the restrictions on the partition key are token restrictions, * <code>false</code> otherwise. */ public boolean isPartitionKeyRestrictionsOnToken() { return partitionKeyRestrictions.isOnToken(); }
/** * Returns the partition key bounds. * * @param options the query options * @return the partition key bounds */ public AbstractBounds<PartitionPosition> getPartitionKeyBounds(QueryOptions options) { IPartitioner p = cfm.partitioner; if (partitionKeyRestrictions.isOnToken()) { return getPartitionKeyBoundsForTokenRestrictions(p, options); } return getPartitionKeyBounds(p, options); }
/** * Returns the partition key bounds. * * @param options the query options * @return the partition key bounds */ public AbstractBounds<PartitionPosition> getPartitionKeyBounds(QueryOptions options) { IPartitioner p = cfm.partitioner; if (partitionKeyRestrictions.isOnToken()) { return getPartitionKeyBoundsForTokenRestrictions(p, options); } return getPartitionKeyBounds(p, options); }
/** * Returns the partition key bounds. * * @param options the query options * @return the partition key bounds */ public AbstractBounds<PartitionPosition> getPartitionKeyBounds(QueryOptions options) { IPartitioner p = cfm.partitioner; if (partitionKeyRestrictions.isOnToken()) { return getPartitionKeyBoundsForTokenRestrictions(p, options); } return getPartitionKeyBounds(p, options); }