Examples of unformVirtRowKey()


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

      Holder<KeyValue<Row>> holder = rows.nextImpl();
      if(holder == null)
        break;
      KeyValue<Row> kv = holder.getValue();
      byte[] key = (byte[]) kv.getKey();
      byte[] nonVirtKey = idMeta.unformVirtRowKey(key);
      Row row = kv.getValue();
      Tuple<V> tuple = classMeta.convertIdToProxy(row, session, nonVirtKey, null);
      if(row == null)
        continue;
View Full Code Here

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

    byte[] virtualKey = (byte[]) kv.getKey();
    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);
View Full Code Here

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

      com.alvazan.orm.api.z8spi.iter.AbstractCursor.Holder<KeyValue<Row>> holder = rows.nextImpl();
      if(holder == null)
        break;
      KeyValue<Row> kv = holder.getValue();
      byte[] key = (byte[]) kv.getKey();
      byte[] nonVirtKey = idMeta.unformVirtRowKey(key);
      Row row = kv.getValue();
      Tuple<T> tuple = metaClass.convertIdToProxy(row, session, nonVirtKey, null);
      if(row == null) {
        throw new IllegalStateException("This entity is corrupt(your entity='"+owner+"') and contains a" +
            " reference/FK to a row that does not exist in another table.  " +
View Full Code Here

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

      Holder<KeyValue<Row>> holder = rows.nextImpl();
      if(holder == null)
        break;
      KeyValue<Row> kv = holder.getValue();
      byte[] key = (byte[]) kv.getKey();
      byte[] nonVirtKey = idMeta.unformVirtRowKey(key);
      Row row = kv.getValue();
      Tuple<V> tuple = classMeta.convertIdToProxy(row, session, nonVirtKey, null);
      if(row == null) {
        throw new IllegalStateException("This entity is corrupt(your entity='"+owner+"') and contains a" +
            " reference/FK to a row that does not exist in another table.  " +
View Full Code Here

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

      com.alvazan.orm.api.z8spi.iter.AbstractCursor.Holder<KeyValue<Row>> holder = rows.nextImpl();
      if(holder == null)
        break;
      KeyValue<Row> kv = holder.getValue();
      byte[] key = (byte[]) kv.getKey();
      byte[] nonVirtKey = idMeta.unformVirtRowKey(key);
      Row row = kv.getValue();
      Tuple<T> tuple = metaClass.convertIdToProxy(row, session, nonVirtKey, null);
      if(row == null) {
        throw new IllegalStateException("This entity is corrupt(your entity='"+owner+"') and contains a" +
            " reference/FK to a row that does not exist in another table.  " +
View Full Code Here

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

      Holder<KeyValue<Row>> holder = rows.nextImpl();
      if(holder == null)
        break;
      KeyValue<Row> kv = holder.getValue();
      byte[] key = (byte[]) kv.getKey();
      byte[] nonVirtKey = idMeta.unformVirtRowKey(key);
      Row row = kv.getValue();
      Tuple<V> tuple = classMeta.convertIdToProxy(row, session, nonVirtKey, null);
      if(row == null) {
        throw new IllegalStateException("This entity is corrupt(your entity='"+owner+"') and contains a" +
            " reference/FK to a row that does not exist in another table.  " +
View Full Code Here

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

    byte[] virtualKey = (byte[]) kv.getKey();
    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);
View Full Code Here

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

      com.alvazan.orm.api.z8spi.iter.AbstractCursor.Holder<KeyValue<Row>> holder = rows.nextImpl();
      if(holder == null)
        break;
      KeyValue<Row> kv = holder.getValue();
      byte[] key = (byte[]) kv.getKey();
      byte[] nonVirtKey = idMeta.unformVirtRowKey(key);
      Row row = kv.getValue();
      Tuple<T> tuple = metaClass.convertIdToProxy(row, session, nonVirtKey, null);
      if(row == null) {
        throw new IllegalStateException("This entity is corrupt(your entity='"+owner+"') and contains a" +
            " reference/FK to a row that does not exist in another table.  " +
View Full Code Here

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

      com.alvazan.orm.api.z8spi.iter.AbstractCursor.Holder<KeyValue<Row>> holder = rows.nextImpl();
      if(holder == null)
        break;
      KeyValue<Row> kv = holder.getValue();
      byte[] key = (byte[]) kv.getKey();
      byte[] nonVirtKey = idMeta.unformVirtRowKey(key);
      Row row = kv.getValue();
      Tuple<T> tuple = metaClass.convertIdToProxy(row, session, nonVirtKey, null);
      if(row == null) {
        throw new IllegalStateException("This entity is corrupt(your entity='"+owner+"') and contains a" +
            " reference/FK to a row that does not exist in another table.  " +
View Full Code Here

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

      Holder<KeyValue<Row>> holder = rows.nextImpl();
      if(holder == null)
        break;
      KeyValue<Row> kv = holder.getValue();
      byte[] key = (byte[]) kv.getKey();
      byte[] nonVirtKey = idMeta.unformVirtRowKey(key);
      Row row = kv.getValue();
      Tuple<V> tuple = classMeta.convertIdToProxy(row, session, nonVirtKey, null);
      if(row == null) {
        throw new IllegalStateException("This entity is corrupt(your entity='"+owner+"') and contains a" +
            " reference/FK to a row that does not exist in another table.  " +
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.