Package org.apache.drill.exec.vector.accessor.sql

Examples of org.apache.drill.exec.vector.accessor.sql.TimePrintMillis


    if (ac.isNull(index)) {
      return null;
    }
    org.joda.time.DateTime time = new org.joda.time.DateTime(ac.get(index), org.joda.time.DateTimeZone.UTC);
    time = time.withZoneRetainFields(org.joda.time.DateTimeZone.getDefault());
    return new TimePrintMillis(time.getMillis());
  }
View Full Code Here


  @Override
  public Time getTime(int index) {
    org.joda.time.DateTime time = new org.joda.time.DateTime(ac.get(index), org.joda.time.DateTimeZone.UTC);
    time = time.withZoneRetainFields(org.joda.time.DateTimeZone.getDefault());
    return new TimePrintMillis(time.getMillis());
  }
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.vector.accessor.sql.TimePrintMillis

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.