test_class.file: tajo-common/src/test/java/org/apache/tajo/datum/TestDatumFactory.java
test_class.identifier: TestDatumFactory
test_case.body: @Test
  	public final void testCreateInt2() {
  		Datum d = DatumFactory.createInt2((short) 5);
  		assertEquals(Type.INT2, d.type());
  	}
test_case.class_method_signature: TestDatumFactory.testCreateInt2()
test_case.full_signature: @Test public final void testCreateInt2()
test_case.identifier: testCreateInt2
test_case.invocations: createInt2 assertEquals type
test_case.modifiers: @Test public final
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCreateInt2()
focal_class.file: tajo-common/src/main/java/org/apache/tajo/datum/DatumFactory.java
focal_class.identifier: DatumFactory
focal_class.class_method_signature: DatumFactory.getDatumClass(Type type)
focal_class.full_signature: public static Class<? extends Datum> getDatumClass(Type type)
focal_class.identifier: getDatumClass
focal_class.modifiers: public static
focal_class.parameters: (Type type)
focal_class.return: Class<? extends Datum>
focal_class.signature: Class<? extends Datum> getDatumClass(Type type)
focal_class.class_method_signature: DatumFactory.createFromString(DataType dataType, String value)
focal_class.full_signature: public static Datum createFromString(DataType dataType, String value)
focal_class.identifier: createFromString
focal_class.modifiers: public static
focal_class.parameters: (DataType dataType, String value)
focal_class.return: Datum
focal_class.signature: Datum createFromString(DataType dataType, String value)
focal_class.class_method_signature: DatumFactory.createFromBytes(DataType dataType, byte[] bytes)
focal_class.full_signature: public static Datum createFromBytes(DataType dataType, byte[] bytes)
focal_class.identifier: createFromBytes
focal_class.modifiers: public static
focal_class.parameters: (DataType dataType, byte[] bytes)
focal_class.return: Datum
focal_class.signature: Datum createFromBytes(DataType dataType, byte[] bytes)
focal_class.class_method_signature: DatumFactory.createFromInt4(DataType type, int val)
focal_class.full_signature: public static Datum createFromInt4(DataType type, int val)
focal_class.identifier: createFromInt4
focal_class.modifiers: public static
focal_class.parameters: (DataType type, int val)
focal_class.return: Datum
focal_class.signature: Datum createFromInt4(DataType type, int val)
focal_class.class_method_signature: DatumFactory.createFromInt8(DataType type, long val)
focal_class.full_signature: public static Datum createFromInt8(DataType type, long val)
focal_class.identifier: createFromInt8
focal_class.modifiers: public static
focal_class.parameters: (DataType type, long val)
focal_class.return: Datum
focal_class.signature: Datum createFromInt8(DataType type, long val)
focal_class.class_method_signature: DatumFactory.createNullDatum()
focal_class.full_signature: public static NullDatum createNullDatum()
focal_class.identifier: createNullDatum
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: NullDatum
focal_class.signature: NullDatum createNullDatum()
focal_class.class_method_signature: DatumFactory.createBool(byte val)
focal_class.full_signature: public static Datum createBool(byte val)
focal_class.identifier: createBool
focal_class.modifiers: public static
focal_class.parameters: (byte val)
focal_class.return: Datum
focal_class.signature: Datum createBool(byte val)
focal_class.class_method_signature: DatumFactory.createBool(boolean val)
focal_class.full_signature: public static BooleanDatum createBool(boolean val)
focal_class.identifier: createBool
focal_class.modifiers: public static
focal_class.parameters: (boolean val)
focal_class.return: BooleanDatum
focal_class.signature: BooleanDatum createBool(boolean val)
focal_class.class_method_signature: DatumFactory.createBit(byte val)
focal_class.full_signature: public static BitDatum createBit(byte val)
focal_class.identifier: createBit
focal_class.modifiers: public static
focal_class.parameters: (byte val)
focal_class.return: BitDatum
focal_class.signature: BitDatum createBit(byte val)
focal_class.class_method_signature: DatumFactory.createChar(char val)
focal_class.full_signature: public static CharDatum createChar(char val)
focal_class.identifier: createChar
focal_class.modifiers: public static
focal_class.parameters: (char val)
focal_class.return: CharDatum
focal_class.signature: CharDatum createChar(char val)
focal_class.class_method_signature: DatumFactory.createChar(byte val)
focal_class.full_signature: public static CharDatum createChar(byte val)
focal_class.identifier: createChar
focal_class.modifiers: public static
focal_class.parameters: (byte val)
focal_class.return: CharDatum
focal_class.signature: CharDatum createChar(byte val)
focal_class.class_method_signature: DatumFactory.createChar(byte[] bytes)
focal_class.full_signature: public static CharDatum createChar(byte[] bytes)
focal_class.identifier: createChar
focal_class.modifiers: public static
focal_class.parameters: (byte[] bytes)
focal_class.return: CharDatum
focal_class.signature: CharDatum createChar(byte[] bytes)
focal_class.class_method_signature: DatumFactory.createChar(String val)
focal_class.full_signature: public static CharDatum createChar(String val)
focal_class.identifier: createChar
focal_class.modifiers: public static
focal_class.parameters: (String val)
focal_class.return: CharDatum
focal_class.signature: CharDatum createChar(String val)
focal_class.class_method_signature: DatumFactory.createInt2(short val)
focal_class.full_signature: public static Int2Datum createInt2(short val)
focal_class.identifier: createInt2
focal_class.modifiers: public static
focal_class.parameters: (short val)
focal_class.return: Int2Datum
focal_class.signature: Int2Datum createInt2(short val)
focal_class.class_method_signature: DatumFactory.createInt2(String val)
focal_class.full_signature: public static Int2Datum createInt2(String val)
focal_class.identifier: createInt2
focal_class.modifiers: public static
focal_class.parameters: (String val)
focal_class.return: Int2Datum
focal_class.signature: Int2Datum createInt2(String val)
focal_class.class_method_signature: DatumFactory.createInt4(int val)
focal_class.full_signature: public static Int4Datum createInt4(int val)
focal_class.identifier: createInt4
focal_class.modifiers: public static
focal_class.parameters: (int val)
focal_class.return: Int4Datum
focal_class.signature: Int4Datum createInt4(int val)
focal_class.class_method_signature: DatumFactory.createInt4(String val)
focal_class.full_signature: public static Int4Datum createInt4(String val)
focal_class.identifier: createInt4
focal_class.modifiers: public static
focal_class.parameters: (String val)
focal_class.return: Int4Datum
focal_class.signature: Int4Datum createInt4(String val)
focal_class.class_method_signature: DatumFactory.createInt8(long val)
focal_class.full_signature: public static Int8Datum createInt8(long val)
focal_class.identifier: createInt8
focal_class.modifiers: public static
focal_class.parameters: (long val)
focal_class.return: Int8Datum
focal_class.signature: Int8Datum createInt8(long val)
focal_class.class_method_signature: DatumFactory.createInt8(String val)
focal_class.full_signature: public static Int8Datum createInt8(String val)
focal_class.identifier: createInt8
focal_class.modifiers: public static
focal_class.parameters: (String val)
focal_class.return: Int8Datum
focal_class.signature: Int8Datum createInt8(String val)
focal_class.class_method_signature: DatumFactory.createFloat4(float val)
focal_class.full_signature: public static Float4Datum createFloat4(float val)
focal_class.identifier: createFloat4
focal_class.modifiers: public static
focal_class.parameters: (float val)
focal_class.return: Float4Datum
focal_class.signature: Float4Datum createFloat4(float val)
focal_class.class_method_signature: DatumFactory.createFloat4(String val)
focal_class.full_signature: public static Float4Datum createFloat4(String val)
focal_class.identifier: createFloat4
focal_class.modifiers: public static
focal_class.parameters: (String val)
focal_class.return: Float4Datum
focal_class.signature: Float4Datum createFloat4(String val)
focal_class.class_method_signature: DatumFactory.createFloat8(double val)
focal_class.full_signature: public static Float8Datum createFloat8(double val)
focal_class.identifier: createFloat8
focal_class.modifiers: public static
focal_class.parameters: (double val)
focal_class.return: Float8Datum
focal_class.signature: Float8Datum createFloat8(double val)
focal_class.class_method_signature: DatumFactory.createFloat8(String val)
focal_class.full_signature: public static Float8Datum createFloat8(String val)
focal_class.identifier: createFloat8
focal_class.modifiers: public static
focal_class.parameters: (String val)
focal_class.return: Float8Datum
focal_class.signature: Float8Datum createFloat8(String val)
focal_class.class_method_signature: DatumFactory.createText(String val)
focal_class.full_signature: public static TextDatum createText(String val)
focal_class.identifier: createText
focal_class.modifiers: public static
focal_class.parameters: (String val)
focal_class.return: TextDatum
focal_class.signature: TextDatum createText(String val)
focal_class.class_method_signature: DatumFactory.createText(byte[] val)
focal_class.full_signature: public static TextDatum createText(byte[] val)
focal_class.identifier: createText
focal_class.modifiers: public static
focal_class.parameters: (byte[] val)
focal_class.return: TextDatum
focal_class.signature: TextDatum createText(byte[] val)
focal_class.class_method_signature: DatumFactory.createDate(int instance)
focal_class.full_signature: public static DateDatum createDate(int instance)
focal_class.identifier: createDate
focal_class.modifiers: public static
focal_class.parameters: (int instance)
focal_class.return: DateDatum
focal_class.signature: DateDatum createDate(int instance)
focal_class.class_method_signature: DatumFactory.createDate(String dateStr)
focal_class.full_signature: public static DateDatum createDate(String dateStr)
focal_class.identifier: createDate
focal_class.modifiers: public static
focal_class.parameters: (String dateStr)
focal_class.return: DateDatum
focal_class.signature: DateDatum createDate(String dateStr)
focal_class.class_method_signature: DatumFactory.createTime(long instance)
focal_class.full_signature: public static TimeDatum createTime(long instance)
focal_class.identifier: createTime
focal_class.modifiers: public static
focal_class.parameters: (long instance)
focal_class.return: TimeDatum
focal_class.signature: TimeDatum createTime(long instance)
focal_class.class_method_signature: DatumFactory.createTime(String dateStr)
focal_class.full_signature: public static TimeDatum createTime(String dateStr)
focal_class.identifier: createTime
focal_class.modifiers: public static
focal_class.parameters: (String dateStr)
focal_class.return: TimeDatum
focal_class.signature: TimeDatum createTime(String dateStr)
focal_class.class_method_signature: DatumFactory.createTimeStamp(int unixTime)
focal_class.full_signature: public static TimestampDatum createTimeStamp(int unixTime)
focal_class.identifier: createTimeStamp
focal_class.modifiers: public static
focal_class.parameters: (int unixTime)
focal_class.return: TimestampDatum
focal_class.signature: TimestampDatum createTimeStamp(int unixTime)
focal_class.class_method_signature: DatumFactory.createTimeStampFromMillis(long millis)
focal_class.full_signature: public static TimestampDatum createTimeStampFromMillis(long millis)
focal_class.identifier: createTimeStampFromMillis
focal_class.modifiers: public static
focal_class.parameters: (long millis)
focal_class.return: TimestampDatum
focal_class.signature: TimestampDatum createTimeStampFromMillis(long millis)
focal_class.class_method_signature: DatumFactory.createTimeStamp(String timeStamp)
focal_class.full_signature: public static TimestampDatum createTimeStamp(String timeStamp)
focal_class.identifier: createTimeStamp
focal_class.modifiers: public static
focal_class.parameters: (String timeStamp)
focal_class.return: TimestampDatum
focal_class.signature: TimestampDatum createTimeStamp(String timeStamp)
focal_class.class_method_signature: DatumFactory.createDate(Datum datum)
focal_class.full_signature: public static DateDatum createDate(Datum datum)
focal_class.identifier: createDate
focal_class.modifiers: public static
focal_class.parameters: (Datum datum)
focal_class.return: DateDatum
focal_class.signature: DateDatum createDate(Datum datum)
focal_class.class_method_signature: DatumFactory.createTime(Datum datum)
focal_class.full_signature: public static TimeDatum createTime(Datum datum)
focal_class.identifier: createTime
focal_class.modifiers: public static
focal_class.parameters: (Datum datum)
focal_class.return: TimeDatum
focal_class.signature: TimeDatum createTime(Datum datum)
focal_class.class_method_signature: DatumFactory.createTimestamp(Datum datum)
focal_class.full_signature: public static TimestampDatum createTimestamp(Datum datum)
focal_class.identifier: createTimestamp
focal_class.modifiers: public static
focal_class.parameters: (Datum datum)
focal_class.return: TimestampDatum
focal_class.signature: TimestampDatum createTimestamp(Datum datum)
focal_class.class_method_signature: DatumFactory.createBlob(byte[] val)
focal_class.full_signature: public static BlobDatum createBlob(byte[] val)
focal_class.identifier: createBlob
focal_class.modifiers: public static
focal_class.parameters: (byte[] val)
focal_class.return: BlobDatum
focal_class.signature: BlobDatum createBlob(byte[] val)
focal_class.class_method_signature: DatumFactory.createBlob(byte[] val, int offset, int length)
focal_class.full_signature: public static BlobDatum createBlob(byte[] val, int offset, int length)
focal_class.identifier: createBlob
focal_class.modifiers: public static
focal_class.parameters: (byte[] val, int offset, int length)
focal_class.return: BlobDatum
focal_class.signature: BlobDatum createBlob(byte[] val, int offset, int length)
focal_class.class_method_signature: DatumFactory.createBlob(String val)
focal_class.full_signature: public static BlobDatum createBlob(String val)
focal_class.identifier: createBlob
focal_class.modifiers: public static
focal_class.parameters: (String val)
focal_class.return: BlobDatum
focal_class.signature: BlobDatum createBlob(String val)
focal_class.class_method_signature: DatumFactory.createInet4(byte[] val)
focal_class.full_signature: public static Inet4Datum createInet4(byte[] val)
focal_class.identifier: createInet4
focal_class.modifiers: public static
focal_class.parameters: (byte[] val)
focal_class.return: Inet4Datum
focal_class.signature: Inet4Datum createInet4(byte[] val)
focal_class.class_method_signature: DatumFactory.createInet4(byte[] val, int offset, int length)
focal_class.full_signature: public static Inet4Datum createInet4(byte[] val, int offset, int length)
focal_class.identifier: createInet4
focal_class.modifiers: public static
focal_class.parameters: (byte[] val, int offset, int length)
focal_class.return: Inet4Datum
focal_class.signature: Inet4Datum createInet4(byte[] val, int offset, int length)
focal_class.class_method_signature: DatumFactory.createInet4(String val)
focal_class.full_signature: public static Inet4Datum createInet4(String val)
focal_class.identifier: createInet4
focal_class.modifiers: public static
focal_class.parameters: (String val)
focal_class.return: Inet4Datum
focal_class.signature: Inet4Datum createInet4(String val)
focal_class.class_method_signature: DatumFactory.cast(Datum operandDatum, DataType target)
focal_class.full_signature: public static Datum cast(Datum operandDatum, DataType target)
focal_class.identifier: cast
focal_class.modifiers: public static
focal_class.parameters: (Datum operandDatum, DataType target)
focal_class.return: Datum
focal_class.signature: Datum cast(Datum operandDatum, DataType target)
focal_method.body: public static Int2Datum createInt2(short val) {
      return new Int2Datum(val);
    }
focal_method.class_method_signature: DatumFactory.createInt2(short val)
focal_method.full_signature: public static Int2Datum createInt2(short val)
focal_method.identifier: createInt2
focal_method.modifiers: public static
focal_method.parameters: (short val)
focal_method.return: Int2Datum
focal_method.signature: Int2Datum createInt2(short val)