public class ValueHolderHelper extends Object
Constructor and Description |
---|
ValueHolderHelper() |
public static IntHolder getIntHolder(int value)
public static BigIntHolder getBigIntHolder(long value)
public static Float4Holder getFloat4Holder(float value)
public static Float8Holder getFloat8Holder(double value)
public static DateHolder getDateHolder(long value)
public static TimeHolder getTimeHolder(int value)
public static TimeStampHolder getTimeStampHolder(long value)
public static BitHolder getBitHolder(int value)
public static NullableBitHolder getNullableBitHolder(boolean isNull, int value)
public static VarCharHolder getVarCharHolder(DrillBuf buf, String s)
public static VarCharHolder getVarCharHolder(BufferAllocator a, String s)
public static IntervalYearHolder getIntervalYearHolder(int intervalYear)
public static IntervalDayHolder getIntervalDayHolder(int days, int millis)
public static Decimal9Holder getDecimal9Holder(int decimal, int precision, int scale)
public static Decimal18Holder getDecimal18Holder(long decimal, int precision, int scale)
public static Decimal28SparseHolder getDecimal28Holder(DrillBuf buf, String decimal)
public static Decimal28SparseHolder getDecimal28Holder(DrillBuf buf, BigDecimal bigDecimal)
public static Decimal38SparseHolder getDecimal38Holder(DrillBuf buf, String decimal)
public static Decimal38SparseHolder getDecimal38Holder(DrillBuf buf, BigDecimal bigDecimal)
public static VarDecimalHolder getVarDecimalHolder(DrillBuf buf, String decimal)
public static VarDecimalHolder getVarDecimalHolder(DrillBuf buf, BigDecimal bigDecimal)
public static List<String> getHolderParams(TypeProtos.MajorType type)
TypeProtos.MajorType type
.type
- type of holder whose fields should be returnedTypeProtos.MajorType type
.Copyright © 1970 The Apache Software Foundation. All rights reserved.