Package org.teiid.metadata

Examples of org.teiid.metadata.KeyRecord.addColumn()


   */
  public static KeyRecord createKey(KeyRecord.Type type, String name, Table group, List<Column> elements) {
    KeyRecord key = new KeyRecord(type);
    key.setName(name);
    for (Column column : elements) {
      key.addColumn(column);
    }
    switch (type) {
    case Primary:
      group.setPrimaryKey(key);
      break;
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.