Lines Matching refs:isDefined
115 private boolean isDefined;
132 public boolean isDefined()
134 return isDefined;
165 isDefined = cursor.getNext(dbKey, dbValue, null) == SUCCESS;
166 return isDefined;
195 isDefined = cursor.getSearchKey(dbKey, dbValue, null) == SUCCESS;
196 return isDefined;
211 isDefined = cursor.getSearchKeyRange(dbKey, dbValue, null) == SUCCESS;
212 return isDefined;
226 isDefined = cursor.getFirst(dbKey, dbValue, null) == SUCCESS;
227 if (!isDefined)
240 isDefined = cursor.getCurrent(dbKey, dbValue, null) == SUCCESS;
244 isDefined = false;
246 return isDefined;
260 isDefined = cursor.getLast(dbKey, dbValue, null) == SUCCESS;
261 return isDefined;
277 if (!isDefined())
313 boolean isDefined = getOrOpenTree(treeName).get(null, db(key), dbValue, null) == SUCCESS;
314 return valueToBytes(dbValue, isDefined);
457 boolean isDefined = getOrOpenTree(treeName).get(txn, db(key), dbValue, READ_COMMITTED) == SUCCESS;
458 return valueToBytes(dbValue, isDefined);
476 final boolean isDefined = tree.get(txn, dbKey, dbValue, RMW) == SUCCESS;
477 final ByteSequence oldValue = valueToBytes(dbValue, isDefined);
488 if (isDefined)
1253 private static ByteString valueToBytes(final DatabaseEntry dbValue, boolean isDefined)
1255 if (isDefined)