Examples of formVirtRowKey()


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

    MetaIdField<T> idField = classMeta.getIdField();
    Converter converter = idField.getConverter();
    byte[] nonVirtKey = converter.convertToNoSql(entityId);
    DboTableMeta metaDbo = classMeta.getMetaDbo();
    DboColumnIdMeta idMeta = metaDbo.getIdColumnMeta();
    byte[] virtKey = idMeta.formVirtRowKey(nonVirtKey);
   
    List<byte[]> rowKeys = new ArrayList<byte[]>();
    rowKeys.add(virtKey);

    AbstractCursor<KeyValue<Row>> rows = session.find(metaDbo, new IterableWrappingCursor<byte[]>(rowKeys), false, true, null);
View Full Code Here

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

   
    TypedRow proxy = row;
    Object rowKey = row.getRowKey();
    DboColumnIdMeta idMeta = metaDbo.getIdColumnMeta();
    byte[] byteKey = idMeta.convertToStorage2(rowKey);
    byte[] virtualKey = idMeta.formVirtRowKey(byteKey);
    if(!metaDbo.hasIndexedField()) {
      session.remove(metaDbo, virtualKey);
      return;
    } else if(!(row instanceof NoSqlTypedRowProxy)) {
      //then we don't have the database information for indexes so we need to read from the database
View Full Code Here

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

   
    TypedRow proxy = row;
    Object rowKey = row.getRowKey();
    DboColumnIdMeta idMeta = metaDbo.getIdColumnMeta();
    byte[] byteKey = idMeta.convertToStorage2(rowKey);
    byte[] virtualKey = idMeta.formVirtRowKey(byteKey);
    if(!metaDbo.hasIndexedField()) {
      session.remove(metaDbo, virtualKey);
      return;
    } else if(!(row instanceof NoSqlTypedRowProxy)) {
      //then we don't have the database information for indexes so we need to read from the database
View Full Code Here

Examples of com.alvazan.orm.impl.meta.data.MetaIdField.formVirtRowKey()

    Object proxy = entity;
    Object pk = metaClass.fetchId(entity);
    MetaIdField idField = metaClass.getIdField();
    byte[] rowKey = idField.convertIdToNonVirtKey(pk);
    byte[] virtKey = idField.formVirtRowKey(rowKey);
    DboTableMeta metaDbo = metaClass.getMetaDbo();
   
    if(!metaClass.hasIndexedField(entity)) {
      session.remove(metaDbo, virtKey);
      return;
View Full Code Here

Examples of com.alvazan.orm.impl.meta.data.MetaIdField.formVirtRowKey()

    Object proxy = entity;
    Object pk = metaClass.fetchId(entity);
    MetaIdField idField = metaClass.getIdField();
    byte[] rowKey = idField.convertIdToNonVirtKey(pk);
    byte[] virtKey = idField.formVirtRowKey(rowKey);
    DboTableMeta metaDbo = metaClass.getMetaDbo();
   
    if(!metaClass.hasIndexedField()) {
      session.remove(metaDbo, virtKey);
      return;
View Full Code Here

Examples of com.alvazan.orm.impl.meta.data.MetaIdField.formVirtRowKey()

    Object proxy = entity;
    Object pk = metaClass.fetchId(entity);
    MetaIdField idField = metaClass.getIdField();
    byte[] rowKey = idField.convertIdToNonVirtKey(pk);
    byte[] virtKey = idField.formVirtRowKey(rowKey);
    DboTableMeta metaDbo = metaClass.getMetaDbo();
   
    if(!metaClass.hasIndexedField()) {
      session.remove(metaDbo, virtKey);
      return;
View Full Code Here

Examples of com.alvazan.orm.impl.meta.data.MetaIdField.formVirtRowKey()

    Object proxy = entity;
    Object pk = metaClass.fetchId(entity);
    MetaIdField idField = metaClass.getIdField();
    byte[] rowKey = idField.convertIdToNonVirtKey(pk);
    byte[] virtKey = idField.formVirtRowKey(rowKey);
    DboTableMeta metaDbo = metaClass.getMetaDbo();
   
    if(!metaClass.hasIndexedField(entity)) {
      session.remove(metaDbo, virtKey);
      return;
View Full Code Here

Examples of com.alvazan.orm.impl.meta.data.MetaIdField.formVirtRowKey()

    Object proxy = entity;
    Object pk = metaClass.fetchId(entity);
    MetaIdField idField = metaClass.getIdField();
    byte[] rowKey = idField.convertIdToNonVirtKey(pk);
    byte[] virtKey = idField.formVirtRowKey(rowKey);
    DboTableMeta metaDbo = metaClass.getMetaDbo();
   
    if(!metaClass.hasIndexedField(entity)) {
      session.remove(metaDbo, virtKey);
      return;
View Full Code Here

Examples of com.alvazan.orm.impl.meta.data.MetaIdField.formVirtRowKey()

    Object proxy = entity;
    Object pk = metaClass.fetchId(entity);
    MetaIdField idField = metaClass.getIdField();
    byte[] rowKey = idField.convertIdToNonVirtKey(pk);
    byte[] virtKey = idField.formVirtRowKey(rowKey);
    DboTableMeta metaDbo = metaClass.getMetaDbo();
   
    if(!metaClass.hasIndexedField()) {
      session.remove(metaDbo, virtKey);
      return;
View Full Code Here

Examples of com.alvazan.orm.impl.meta.data.MetaIdField.formVirtRowKey()

    Object proxy = entity;
    Object pk = metaClass.fetchId(entity);
    MetaIdField idField = metaClass.getIdField();
    byte[] rowKey = idField.convertIdToNonVirtKey(pk);
    byte[] virtKey = idField.formVirtRowKey(rowKey);
    DboTableMeta metaDbo = metaClass.getMetaDbo();
   
    if(!metaClass.hasIndexedField(entity)) {
      session.remove(metaDbo, virtKey);
      return;
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.