@Override public boolean contains(Object val) { return containsInt(((Integer)val).intValue()); }
@Override public boolean contains(Object val) { return containsInt(((Integer)val).intValue()); }
@Override public boolean contains(Object val) { return containsInt(((Integer)val).intValue()); }
private void populateKeysForTheCurrentNode(final BitSetSet bucketBitSet) { // final boolean isPR = (this.region !=null && region.getPartitionAttributes() != null); this.keysForTheCurrentNode = new ArrayList<Object>(); int bucketId = 0; for (int j = 0; j < inKeys.length; j++) { if (inKeys[j] != null) { // if (isPR) { if (inRoutingObjects != null) { bucketId = PartitionedRegionHelper.getHashKey(this.pr, inRoutingObjects[j]); } else { if (inKeys[j] instanceof CompactCompositeRegionKey) { ((CompactCompositeRegionKey) inKeys[j]) .setRegionContext(this.region); } bucketId = PartitionedRegionHelper.getHashKey(this.pr, Operation.GET, inKeys[j], null, null /* callbackArg */); } // } if (bucketBitSet.containsInt(bucketId)) { this.keysForTheCurrentNode.add(inKeys[j]); } } } }
private void populateKeysToBucketIdsMap(final BitSetSet bucketBitSet) { // final boolean isPR = (this.region !=null && region.getPartitionAttributes() != null); this.keysToBucketIds = new HashMap<Object, Integer>(); int bucketId = 0; for (int j = 0; j < inKeys.length; j++) { if (inKeys[j] != null) { // if (isPR) { if (inRoutingObjects != null) { bucketId = PartitionedRegionHelper.getHashKey(this.pr, inRoutingObjects[j]); } else { if (inKeys[j] instanceof CompactCompositeRegionKey) { ((CompactCompositeRegionKey) inKeys[j]) .setRegionContext(this.region); } bucketId = PartitionedRegionHelper.getHashKey(this.pr, Operation.GET, inKeys[j], null, null /* callbackArg */); } // } if (bucketBitSet.containsInt(bucketId)) { this.keysToBucketIds.put(inKeys[j], bucketId); } } } }
private void populateKeysForTheCurrentNode(final BitSetSet bucketBitSet) { // final boolean isPR = (this.region !=null && region.getPartitionAttributes() != null); this.keysForTheCurrentNode = new ArrayList<Object>(); int bucketId = 0; for (int j = 0; j < inKeys.length; j++) { if (inKeys[j] != null) { // if (isPR) { if (inRoutingObjects != null) { bucketId = PartitionedRegionHelper.getHashKey(this.pr, inRoutingObjects[j]); } else { if (inKeys[j] instanceof CompactCompositeRegionKey) { ((CompactCompositeRegionKey) inKeys[j]) .setRegionContext(this.region); } bucketId = PartitionedRegionHelper.getHashKey(this.pr, Operation.GET, inKeys[j], null, null /* callbackArg */); } // } if (bucketBitSet.containsInt(bucketId)) { this.keysForTheCurrentNode.add(inKeys[j]); } } } }
private void populateKeysForTheCurrentNode(final BitSetSet bucketBitSet) { // final boolean isPR = (this.region !=null && region.getPartitionAttributes() != null); this.keysForTheCurrentNode = new ArrayList<Object>(); int bucketId = 0; for (int j = 0; j < inKeys.length; j++) { if (inKeys[j] != null) { // if (isPR) { if (inRoutingObjects != null) { bucketId = PartitionedRegionHelper.getHashKey(this.pr, inRoutingObjects[j]); } else { if (inKeys[j] instanceof CompactCompositeRegionKey) { ((CompactCompositeRegionKey) inKeys[j]) .setRegionContext(this.region); } bucketId = PartitionedRegionHelper.getHashKey(this.pr, Operation.GET, inKeys[j], null, null /* callbackArg */); } // } if (bucketBitSet.containsInt(bucketId)) { this.keysForTheCurrentNode.add(inKeys[j]); } } } }
private void populateKeysToBucketIdsMap(final BitSetSet bucketBitSet) { // final boolean isPR = (this.region !=null && region.getPartitionAttributes() != null); this.keysToBucketIds = new HashMap<Object, Integer>(); int bucketId = 0; for (int j = 0; j < inKeys.length; j++) { if (inKeys[j] != null) { // if (isPR) { if (inRoutingObjects != null) { bucketId = PartitionedRegionHelper.getHashKey(this.pr, inRoutingObjects[j]); } else { if (inKeys[j] instanceof CompactCompositeRegionKey) { ((CompactCompositeRegionKey) inKeys[j]) .setRegionContext(this.region); } bucketId = PartitionedRegionHelper.getHashKey(this.pr, Operation.GET, inKeys[j], null, null /* callbackArg */); } // } if (bucketBitSet.containsInt(bucketId)) { this.keysToBucketIds.put(inKeys[j], bucketId); } } } }
private void populateKeysToBucketIdsMap(final BitSetSet bucketBitSet) { // final boolean isPR = (this.region !=null && region.getPartitionAttributes() != null); this.keysToBucketIds = new HashMap<Object, Integer>(); int bucketId = 0; for (int j = 0; j < inKeys.length; j++) { if (inKeys[j] != null) { // if (isPR) { if (inRoutingObjects != null) { bucketId = PartitionedRegionHelper.getHashKey(this.pr, inRoutingObjects[j]); } else { if (inKeys[j] instanceof CompactCompositeRegionKey) { ((CompactCompositeRegionKey) inKeys[j]) .setRegionContext(this.region); } bucketId = PartitionedRegionHelper.getHashKey(this.pr, Operation.GET, inKeys[j], null, null /* callbackArg */); } // } if (bucketBitSet.containsInt(bucketId)) { this.keysToBucketIds.put(inKeys[j], bucketId); } } } }
final byte sqlType = in.readByte(); this.sqlParamTypes[i] = sqlType; if (notNulls != null && notNulls.containsInt(i)) { final DataValueDescriptor dvd = getNullDVD(sqlType); dvd.fromDataForOptimizedResultHolder(in);
final byte sqlType = in.readByte(); this.sqlParamTypes[i] = sqlType; if (notNulls != null && notNulls.containsInt(i)) { final DataValueDescriptor dvd = getNullDVD(sqlType); dvd.fromDataForOptimizedResultHolder(in);
final byte sqlType = in.readByte(); this.sqlParamTypes[i] = sqlType; if (notNulls != null && notNulls.containsInt(i)) { final DataValueDescriptor dvd = getNullDVD(sqlType); dvd.fromDataForOptimizedResultHolder(in);
int sqlType = mapSQLType(this.dtds[i].getJDBCTypeId()); out.writeByte(sqlType); if (this.notNullSet.containsInt(i)) { DataValueDescriptor dvd = this.pvs.getParameter(i); dvd.toDataForOptimizedResultHolder(out);
int sqlType = mapSQLType(this.dtds[i].getJDBCTypeId()); out.writeByte(sqlType); if (this.notNullSet.containsInt(i)) { DataValueDescriptor dvd = this.pvs.getParameter(i); dvd.toDataForOptimizedResultHolder(out);
int sqlType = mapSQLType(this.dtds[i].getJDBCTypeId()); out.writeByte(sqlType); if (this.notNullSet.containsInt(i)) { DataValueDescriptor dvd = this.pvs.getParameter(i); dvd.toDataForOptimizedResultHolder(out);