Package com.alvazan.orm.api.z8spi.meta

Examples of com.alvazan.orm.api.z8spi.meta.DboColumnIdMeta.convertFromStorage2()


    DboColumnIdMeta idField = meta.getIdColumnMeta();
   
    KeyValue<TypedRow> keyVal;
    if(row == null) {
      byte[] notVirtKey = idField.unformVirtRowKey(virtualKey);
      T key = (T) idField.convertFromStorage2(notVirtKey);
      keyVal = new KeyValue<TypedRow>();
      keyVal.setKey(key);
      RowNotFoundException exc = new RowNotFoundException("Your query="+query+" contained a value with a pk where that entity no longer exists in the nosql store");
      keyVal.setException(exc);
    } else {
View Full Code Here


    DboColumnIdMeta idField = meta.getIdColumnMeta();
   
    KeyValue<TypedRow> keyVal;
    if(row == null) {
      byte[] notVirtKey = idField.unformVirtRowKey(virtualKey);
      T key = (T) idField.convertFromStorage2(notVirtKey);
      keyVal = new KeyValue<TypedRow>();
      keyVal.setKey(key);
      RowNotFoundException exc = new RowNotFoundException("Your query="+query+" contained a value with a pk where that entity no longer exists in the nosql store");
      keyVal.setException(exc);
    } else {
View Full Code Here

        }
    hasValue = true;
  }
  private void setKeyAsStr(byte[] idData) {
    DboColumnIdMeta idMeta = metaClass.getIdField().getMetaIdDbo();
    Object obj = idMeta.convertFromStorage2(idData);
    keyAsStr = idMeta.convertTypeToString(obj);
  }
  public synchronized T getValue() {
    if(!hasValue) {
      //otherwise, we need to create and cache the value
View Full Code Here

    DboColumnIdMeta idField = meta.getIdColumnMeta();
   
    KeyValue<TypedRow> keyVal;
    if(row == null) {
      byte[] notVirtKey = idField.unformVirtRowKey(virtualKey);
      T key = (T) idField.convertFromStorage2(notVirtKey);
      keyVal = new KeyValue<TypedRow>();
      keyVal.setKey(key);
      RowNotFoundException exc = new RowNotFoundException("Your query="+query+" contained a value with a pk where that entity no longer exists in the nosql store");
      keyVal.setException(exc);
    } else {
View Full Code Here

    DboColumnIdMeta idField = meta.getIdColumnMeta();
   
    KeyValue<TypedRow> keyVal;
    if(row == null) {
      byte[] notVirtKey = idField.unformVirtRowKey(virtualKey);
      T key = (T) idField.convertFromStorage2(notVirtKey);
      keyVal = new KeyValue<TypedRow>();
      keyVal.setKey(key);
      RowNotFoundException exc = new RowNotFoundException("Your query="+query+" contained a value with a pk where that entity no longer exists in the nosql store");
      keyVal.setException(exc);
    } else {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.