Examples of IndexData


Examples of com.alvazan.orm.api.z8spi.meta.IndexData

    elementsToRemove.clear();
  }

  private void translateToColumn(InfoForIndex<OWNER> info, PROXY value) {
    RowToPersist row = info.getRow();
    IndexData data = fetchIndexData(info, value);
    row.addIndexToPersist(data);
  }
View Full Code Here

Examples of com.alvazan.orm.api.z8spi.meta.IndexData

              "\nmethod #2 is used for when you have a bi-directional relationship where each is a child of the other");
    }
   
    byte[] key = info.getRow().getKey();
   
    IndexData data = new IndexData();
    String colFamily = getMetaDbo().getIndexTableName();
    String rowKey = formRowKey(row.getKey());
   
    data.setColumnFamilyName(colFamily);
    data.setRowKey(rowKey);
    IndexColumn indCol = data.getIndexColumn();
    indCol.setIndexedValue(byteVal);
    indCol.setPrimaryKey(key);
    return data;
  }
View Full Code Here

Examples of com.alvazan.orm.api.z8spi.meta.IndexData

      //want indexes of /entityCF/account/security/<securityid>
      //           and /entityCF/security/account/<accountid> 
      // It would not be useful at all to have /entityCF/account/account/<accountid> since all the account ids in that index row would be the same!!!!
      if(part.getColMeta() == this)
        continue; //skip indexing if this IS the partition. 
      IndexData data = createAddIndexData(info.getColumnFamily(), oldIndexedVal, storageType, pk, part);
      indexList.add(data);
    }
  }
View Full Code Here

Examples of com.alvazan.orm.api.z8spi.meta.IndexData

   
    return true;
  }
  private IndexData createAddIndexData(String columnFamily,
      byte[] byteVal, StorageTypeEnum storageType, byte[] pk, PartitionTypeInfo info) {
    IndexData data = new IndexData();
    if (!getMetaDbo().isIndexedByKey())
      data.setColumnFamilyName(getMetaDbo().getIndexTableName());
    else
      data.setColumnFamilyName(this.getColumnName() + "To"
          + this.getMetaDbo().getOwner().getColumnFamily());
    String indexRowKey = getMetaDbo().getIndexRowKey(info.getPartitionBy(),
        info.getPartitionId());
    data.setRowKey(indexRowKey);
    data.getIndexColumn().setIndexedValue(byteVal);
    data.getIndexColumn().setPrimaryKey(pk);
    data.getIndexColumn().setColumnName(getColumnName());
    return data;
  }
View Full Code Here

Examples of com.alvazan.orm.api.z8spi.meta.IndexData

    }
    elementsToAdd.clear();
   
    for(PROXY p : elementsToRemove) {
      RowToPersist row = info.getRow();
      IndexData data = fetchIndexData(info, p);
      row.addIndexToRemove(data);
    }
    elementsToRemove.clear();
  }
View Full Code Here

Examples of com.alvazan.orm.api.z8spi.meta.IndexData

    elementsToRemove.clear();
  }

  private void translateToColumn(InfoForIndex<OWNER> info, PROXY value) {
    RowToPersist row = info.getRow();
    IndexData data = fetchIndexData(info, value);
    row.addIndexToPersist(data);
  }
View Full Code Here

Examples of com.alvazan.orm.api.z8spi.meta.IndexData

              "\nmethod #2 is used for when you have a bi-directional relationship where each is a child of the other");
    }
   
    byte[] key = info.getRow().getKey();
   
    IndexData data = new IndexData();
    String colFamily = getMetaDbo().getIndexTableName();
    String rowKey = formRowKey(row.getKey());
   
    data.setColumnFamilyName(colFamily);
    data.setRowKey(rowKey);
    IndexColumn indCol = data.getIndexColumn();
    indCol.setIndexedValue(byteVal);
    indCol.setPrimaryKey(byteVal);
    return data;
  }
View Full Code Here

Examples of com.alvazan.orm.api.z8spi.meta.IndexData

      //want indexes of /entityCF/account/security/<securityid>
      //           and /entityCF/security/account/<accountid> 
      // It would not be useful at all to have /entityCF/account/account/<accountid> since all the account ids in that index row would be the same!!!!
      if(part.getColMeta() == this)
        continue; //skip indexing if this IS the partition. 
      IndexData data = createAddIndexData(info.getColumnFamily(), oldIndexedVal, storageType, pk, part);
      indexList.add(data);
    }
  }
View Full Code Here

Examples of com.alvazan.orm.api.z8spi.meta.IndexData

   
    return true;
  }
  private IndexData createAddIndexData(String columnFamily,
      byte[] byteVal, StorageTypeEnum storageType, byte[] pk, PartitionTypeInfo info) {
    IndexData data = new IndexData();
    String colFamily = getMetaDbo().getIndexTableName();
    data.setColumnFamilyName(colFamily);
    String indexRowKey = getMetaDbo().getIndexRowKey(info.getPartitionBy(), info.getPartitionId());
    data.setRowKey(indexRowKey);
    data.getIndexColumn().setIndexedValue(byteVal);
    data.getIndexColumn().setPrimaryKey(pk);
    data.getIndexColumn().setColumnName(getColumnName());
    return data;
  }
View Full Code Here

Examples of org.apache.fontbox.cff.IndexData

            byte[] descBinary = new byte[sizeOfCharString];
            stream.read(descBinary, 0, sizeOfCharString);
            byte[] description = Type1FontUtil.charstringDecrypt(descBinary, lenIV);
            Type1CharStringParser t1p = new Type1CharStringParser();
            // TODO provide the local subroutine indexes
            List<Object> operations = t1p.parse(description, new IndexData(0));
            type1Font.addGlyphDescription(label, new GlyphDescription(operations));

            readToken(stream); // skip "ND" or "|-" token
            --numberOfElements;
        }
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.