public void equalLong(Column storeColumn, long value) { try { ndbOperation.equalLong(storeColumn.getName(), value); } catch (NdbApiException ndbApiException) { throw new ClusterJDatastoreException(local.message("ERR_Datastore"), ndbApiException); } }
public void setDatetime(Column storeColumn, Timestamp value) { try { ndbOperation.setDatetime(storeColumn.getName(), value); } catch (NdbApiException ndbApiException) { throw new ClusterJDatastoreException(local.message("ERR_Datastore"), ndbApiException); } }
public void equalByte(Column storeColumn, byte b) { try { ndbOperation.equalInt(storeColumn.getName(), (int) b); } catch (NdbApiException ndbApiException) { throw new ClusterJDatastoreException(local.message("ERR_Datastore"), ndbApiException); } }
public void setNull(Column storeColumn) { try { ndbOperation.setNull(storeColumn.getName()); } catch (NdbApiException ndbApiException) { throw new ClusterJDatastoreException(local.message("ERR_Datastore"), ndbApiException); } }
public void setByte(Column storeColumn, byte value) { try { ndbOperation.setInt(storeColumn.getName(), (int) value); } catch (NdbApiException ndbApiException) { throw new ClusterJDatastoreException(local.message("ERR_Datastore"), ndbApiException); } }
public Blob getBlobHandle(Column storeColumn) { try { return new BlobImpl(ndbOperation.getBlobHandle(storeColumn.getName())); } catch (NdbApiException ndbApiException) { throw new ClusterJDatastoreException(local.message("ERR_Datastore"), ndbApiException); } }
public void equalTime(Column storeColumn, Time value) { try { Timestamp timestamp = new Timestamp(((Time) value).getTime()); ndbOperation.equalDatetime(storeColumn.getName(), timestamp); } catch (NdbApiException ndbApiException) { throw new ClusterJDatastoreException(local.message("ERR_Datastore"), ndbApiException); } }
public ResultData resultData() { // execute the transaction to get results clusterTransaction.executeNoCommit(); return new ResultDataImpl(ndbOperation.resultData()); }