public static Object toColumnValue(TColumnValue value) { TColumnValue._Fields field = value.getSetField(); switch (field) { case BOOL_VAL: return getBooleanValue(value.getBoolVal()); case BYTE_VAL: return getByteValue(value.getByteVal()); case I16_VAL: return getShortValue(value.getI16Val()); case I32_VAL: return getIntegerValue(value.getI32Val()); case I64_VAL: return getLongValue(value.getI64Val()); case DOUBLE_VAL: return getDoubleValue(value.getDoubleVal()); case STRING_VAL: return getStringValue(value.getStringVal()); } throw new IllegalArgumentException("never"); } }
public static Object toColumnValue(TColumnValue value) { TColumnValue._Fields field = value.getSetField(); switch (field) { case BOOL_VAL: return getBooleanValue(value.getBoolVal()); case BYTE_VAL: return getByteValue(value.getByteVal()); case I16_VAL: return getShortValue(value.getI16Val()); case I32_VAL: return getIntegerValue(value.getI32Val()); case I64_VAL: return getLongValue(value.getI64Val()); case DOUBLE_VAL: return getDoubleValue(value.getDoubleVal()); case STRING_VAL: return getStringValue(value.getStringVal()); } throw new IllegalArgumentException("never"); } }
public static Object toColumnValue(TColumnValue value) { TColumnValue._Fields field = value.getSetField(); switch (field) { case BOOL_VAL: return getBooleanValue(value.getBoolVal()); case BYTE_VAL: return getByteValue(value.getByteVal()); case I16_VAL: return getShortValue(value.getI16Val()); case I32_VAL: return getIntegerValue(value.getI32Val()); case I64_VAL: return getLongValue(value.getI64Val()); case DOUBLE_VAL: return getDoubleValue(value.getDoubleVal()); case STRING_VAL: return getStringValue(value.getStringVal()); } throw new IllegalArgumentException("never"); } }
public static Object toColumnValue(TColumnValue value) { TColumnValue._Fields field = value.getSetField(); switch (field) { case BOOL_VAL: return getBooleanValue(value.getBoolVal()); case BYTE_VAL: return getByteValue(value.getByteVal()); case I16_VAL: return getShortValue(value.getI16Val()); case I32_VAL: return getIntegerValue(value.getI32Val()); case I64_VAL: return getLongValue(value.getI64Val()); case DOUBLE_VAL: return getDoubleValue(value.getDoubleVal()); case STRING_VAL: return getStringValue(value.getStringVal()); } throw new IllegalArgumentException("never"); } }
public static Object toColumnValue(TColumnValue value) { TColumnValue._Fields field = value.getSetField(); switch (field) { case BOOL_VAL: return getBooleanValue(value.getBoolVal()); case BYTE_VAL: return getByteValue(value.getByteVal()); case I16_VAL: return getShortValue(value.getI16Val()); case I32_VAL: return getIntegerValue(value.getI32Val()); case I64_VAL: return getLongValue(value.getI64Val()); case DOUBLE_VAL: return getDoubleValue(value.getDoubleVal()); case STRING_VAL: return getStringValue(value.getStringVal()); } throw new IllegalArgumentException("never"); } }
public static Object toColumnValue(TColumnValue value) { TColumnValue._Fields field = value.getSetField(); switch (field) { case BOOL_VAL: return getBooleanValue(value.getBoolVal()); case BYTE_VAL: return getByteValue(value.getByteVal()); case I16_VAL: return getShortValue(value.getI16Val()); case I32_VAL: return getIntegerValue(value.getI32Val()); case I64_VAL: return getLongValue(value.getI64Val()); case DOUBLE_VAL: return getDoubleValue(value.getDoubleVal()); case STRING_VAL: return getStringValue(value.getStringVal()); } throw new IllegalArgumentException("never"); } }