Package org.apache.drill.exec.expr.holders

Examples of org.apache.drill.exec.expr.holders.TinyIntHolder


  @Param TinyIntHolder in;
  @Workspace TinyIntHolder inter;
  @Output TinyIntHolder out;

  public void setup(RecordBatch b) {
  inter = new TinyIntHolder();

    // Initialize the workspace variables
    inter.value = Byte.MAX_VALUE;
  }
View Full Code Here


  @Param NullableTinyIntHolder in;
  @Workspace TinyIntHolder inter;
  @Output TinyIntHolder out;

  public void setup(RecordBatch b) {
  inter = new TinyIntHolder();

    // Initialize the workspace variables
    inter.value = Byte.MAX_VALUE;
  }
View Full Code Here

  @Param NullableTinyIntHolder in;
  @Workspace TinyIntHolder inter;
  @Output TinyIntHolder out;

  public void setup(RecordBatch b) {
  inter = new TinyIntHolder();

    // Initialize the workspace variables
    inter.value = 0;
  }
View Full Code Here

  @Param TinyIntHolder in;
  @Workspace TinyIntHolder inter;
  @Output TinyIntHolder out;

  public void setup(RecordBatch b) {
  inter = new TinyIntHolder();

    // Initialize the workspace variables
    inter.value = 0;
  }
View Full Code Here

    MajorType valueMajorType = fieldReader.getType();
    MinorType valueMinorType = valueMajorType.getMinorType();

    switch (valueMinorType) {
      case TINYINT:
        TinyIntHolder tinyIntHolder = new TinyIntHolder();
        tinyIntHolder.value = fieldReader.readByte();
        mapWriter.tinyInt(MappifyUtility.fieldValue).write(tinyIntHolder);
        break;
      case SMALLINT:
        SmallIntHolder smallIntHolder = new SmallIntHolder();
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.expr.holders.TinyIntHolder

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.