Search in sources :

Example 6 with IntHolder

use of org.apache.drill.exec.expr.holders.IntHolder in project drill by apache.

the class ValueHolderHelper method getIntHolder.

public static IntHolder getIntHolder(int value) {
    IntHolder holder = new IntHolder();
    holder.value = value;
    return holder;
}
Also used : IntHolder(org.apache.drill.exec.expr.holders.IntHolder) BigIntHolder(org.apache.drill.exec.expr.holders.BigIntHolder)

Aggregations

BigIntHolder (org.apache.drill.exec.expr.holders.BigIntHolder)6 IntHolder (org.apache.drill.exec.expr.holders.IntHolder)6 Test (org.junit.Test)3 SchemaPath (org.apache.drill.common.expression.SchemaPath)2 FunctionImplementationRegistry (org.apache.drill.exec.expr.fn.FunctionImplementationRegistry)2 FragmentContext (org.apache.drill.exec.ops.FragmentContext)2 PhysicalPlan (org.apache.drill.exec.physical.PhysicalPlan)2 FragmentRoot (org.apache.drill.exec.physical.base.FragmentRoot)2 PhysicalPlanReader (org.apache.drill.exec.planner.PhysicalPlanReader)2 BigIntVector (org.apache.drill.exec.vector.BigIntVector)2 IntVector (org.apache.drill.exec.vector.IntVector)2 ObjectMapper (com.fasterxml.jackson.databind.ObjectMapper)1 ObjectWriter (com.fasterxml.jackson.databind.ObjectWriter)1 Function (com.google.common.base.Function)1 DrillBuf (io.netty.buffer.DrillBuf)1 ByteArrayOutputStream (java.io.ByteArrayOutputStream)1 BigDecimal (java.math.BigDecimal)1 Calendar (java.util.Calendar)1 RelDataTypeFactory (org.apache.calcite.rel.type.RelDataTypeFactory)1 RexNode (org.apache.calcite.rex.RexNode)1