Package eu.stratosphere.types

Examples of eu.stratosphere.types.ShortValue


      break;
    case java.sql.Types.LONGNVARCHAR:
      record.setField(pos, new StringValue(resultSet.getString(pos + 1)));
      break;
    case java.sql.Types.TINYINT:
      record.setField(pos, new ShortValue(resultSet.getShort(pos + 1)));
      break;
    case java.sql.Types.SMALLINT:
      record.setField(pos, new ShortValue(resultSet.getShort(pos + 1)));
      break;
    case java.sql.Types.BIGINT:
      record.setField(pos, new LongValue(resultSet.getLong(pos + 1)));
      break;
    case java.sql.Types.INTEGER:
View Full Code Here


    return limit;
  }
 
  @Override
  public ShortValue createValue() {
    return new ShortValue();
  }
View Full Code Here

  }
 
  @Override
  public ShortValue[] getValidTestResults() {
    return new ShortValue[] {
      new ShortValue((short) 0), new ShortValue((short) 1), new ShortValue((short) 576),
      new ShortValue((short) -8778), new ShortValue(Short.MAX_VALUE), new ShortValue(Short.MIN_VALUE)
    };
  }
View Full Code Here

    return false;
  }
 
  @Override
  public ShortValue createInstance() {
    return new ShortValue();
  }
View Full Code Here

TOP

Related Classes of eu.stratosphere.types.ShortValue

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.