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

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


            (periodDay.getSeconds() * org.apache.drill.exec.expr.fn.impl.DateUtility.secondsToMillis) +
            (periodDay.getMillis());
        mapWriter.intervalDay(MappifyUtility.fieldValue).write(intervalDayHolder);
        break;
      case INTERVALYEAR:
        IntervalYearHolder intervalYearHolder = new IntervalYearHolder();
        Period periodYear = fieldReader.readPeriod();
        intervalYearHolder.value = (periodYear.getYears() * org.apache.drill.exec.expr.fn.impl.DateUtility.yearsToMonths) + periodYear.getMonths();
        mapWriter.intervalYear(MappifyUtility.fieldValue).write(intervalYearHolder);
        break;
      case FLOAT4:
View Full Code Here

TOP

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

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.