Package org.hivedb.meta.persistence

Examples of org.hivedb.meta.persistence.ColumnInfo


   * @param name
   * @param secondaryIndexes
   */
  public Resource(int id, String name, int columnType, boolean isPartitioningResource, Collection<SecondaryIndex> secondaryIndexes) {
    this.id = id;
    this.columnInfo = new ColumnInfo(name, columnType);
    this.isPartitioningResource = isPartitioningResource;
    this.secondaryIndexes = insetThisInstance(secondaryIndexes);
    this.idIndex = new ResourceIndex(name, columnType);
    idIndex.setResource(this);
  }
View Full Code Here


  public String getName() {
    return columnInfo.getName();
  }

  public void setName(String name) {
    this.columnInfo = new ColumnInfo(name, columnInfo.getColumnType());
  }
View Full Code Here

   *
   * @param id
   */
  public SecondaryIndex(int id, String name, int type) {
    this.id = id;
    this.columnInfo = new ColumnInfo(name, type);
  }
View Full Code Here

TOP

Related Classes of org.hivedb.meta.persistence.ColumnInfo

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.