Package com.alvazan.orm.api.z8spi.conv

Examples of com.alvazan.orm.api.z8spi.conv.ByteArray


    return columns.get(b);
  }
 
  public TypedColumn getColumn(String colName) {
    byte[] nameBytes = StandardConverters.convertToBytes(colName);
    ByteArray b = new ByteArray(nameBytes);
    return columns.get(b);
  }
View Full Code Here


    return indexedValue;
  }

  public void setIndexedValue(byte[] indexedValue) {
    this.indexedValue = indexedValue;
    indexedVal = new ByteArray(indexedValue);
  }
View Full Code Here

    return primaryKey;
  }

  public void setPrimaryKey(byte[] primaryKey) {
    this.primaryKey = primaryKey;
    rowKey = new ByteArray(primaryKey);
  }
View Full Code Here

    return c;
  }

  @Override
  public String toString() {
    return "colName="+new ByteArray(name)+"/value="+new ByteArray(value);
  }
View Full Code Here

    addColumn(colName, colVal, null);
  }

  public void addColumn(DboColumnToManyMeta colMeta, byte[] fullName, byte[] namePrefix, byte[] fk, byte[] value, Long timestamp) {
    TypedColumn c = new TypedColumn(colMeta, namePrefix, fk, value, timestamp);
    ByteArray b = new ByteArray(fullName);
    columns.put(b, c);
  }
View Full Code Here

    columns.put(b, c);
  }

  public void addColumn(DboColumnEmbedSimpleMeta colMeta, byte[] fullName, byte[] namePrefix, byte[] fk, byte[] value, Long timestamp) {
    TypedColumn c = new TypedColumn(colMeta, namePrefix, fk, value, timestamp);
    ByteArray b = new ByteArray(fullName);
    columns.put(b, c);
  }
View Full Code Here

    columns.put(b, c);
  }

  public void addColumn(DboColumnToOneMeta colMeta, byte[] fullName, byte[] namePrefix, byte[] fk, byte[] value, Long timestamp) {
    TypedColumn c = new TypedColumn(colMeta, namePrefix, fk, value, timestamp);
    ByteArray b = new ByteArray(fullName);
    columns.put(b, c);
  }
View Full Code Here

    columns.put(b, c);
  }

  public void addColumn(DboColumnEmbedMeta colMeta, byte[] fullName, byte[] namePrefix, byte[] fk, byte[] value, Long timestamp) {
      TypedColumn c = new TypedColumn(colMeta, namePrefix, fk, value, timestamp);
      ByteArray b = new ByteArray(fullName);
      columns.put(b, c);
  }
View Full Code Here

  }

  public void addColumn(DboColumnMeta colMeta,
      byte[] columnName, byte[] value, Long timestamp) {
    TypedColumn c = new TypedColumn(colMeta, columnName, value, timestamp);
    ByteArray b = new ByteArray(columnName);
    columns.put(b, c);
  }
View Full Code Here

    byte[] nameBytes = StandardConverters.convertToBytes(name);
    removeColumn(nameBytes);
  }

  public void removeColumn(byte[] name) {
    ByteArray b = new ByteArray(name);
    columns.remove(b);
    columnsToBeRemoved.add(name);
  }
View Full Code Here

TOP

Related Classes of com.alvazan.orm.api.z8spi.conv.ByteArray

Copyright © 2018 www.massapicom. 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.