Examples of IDBColumnType


Examples of tosa.api.IDBColumnType

  }

  @Override
  public IDBColumnType getVarTypeForChild() {
    InPredicate parent = (InPredicate) getParent();
    IDBColumnType type = parent.getLHS().getDBType();
    if (type != null) {
      return type;
    } else {
      return null;
    }
View Full Code Here

Examples of tosa.api.IDBColumnType

  public Map<String,IType> getColumnMap() {
    HashMap<String, IType> cols = new HashMap<String, IType>();
    if (hasSpecificColumns()) {
      for (SQLParsedElement col : _selectList.getChildren()) {
        IDBColumnType type = col.getDBType();
        IType gosuType = type == null ? JavaTypes.OBJECT() : type.getGosuType();
        if (col instanceof ColumnReference) {
          cols.put(((ColumnReference) col).getName(), gosuType);
        } else if (col instanceof DerivedColumn) {
          cols.put(((DerivedColumn) col).getName(), gosuType);
        }
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.