@Test public void testGet() { Object[] values = getRandomValue(true); InternalRow row = new GenericInternalRow(values); HoodieInternalRow hoodieInternalRow = new HoodieInternalRow("commitTime", "commitSeqNo", "recordKey", "partitionPath", "fileName", row); assertValues(hoodieInternalRow, "commitTime", "commitSeqNo", "recordKey", "partitionPath", "fileName", values, nullIndices); }
@Override public Object get(int ordinal, DataType dataType) { if (ordinal < HoodieRecord.HOODIE_META_COLUMNS.size()) { return UTF8String.fromBytes(getMetaColumnVal(ordinal).getBytes()); } return row.get(ordinal, dataType); }
HoodieInternalRow extends InternalRow { @Override public Object get(int ordinal, DataType dataType) { if (ordinal < HoodieRecord.HOODIE_META_COLUMNS.size()) { return UTF8String.fromBytes(getMetaColumnVal(ordinal).getBytes()); } return row.get(ordinal, dataType); } }
HoodieInternalRow extends InternalRow { @Override public Object get(int ordinal, DataType dataType) { if (ordinal < HoodieRecord.HOODIE_META_COLUMNS.size()) { return UTF8String.fromBytes(getMetaColumnVal(ordinal).getBytes()); } return row.get(ordinal, dataType); } HoodieInternalRow(String commitTime, String commitSeqNumber, String recordKey, String partitionPath,
      String fileName, InternalRow row); }
HoodieInternalRow extends InternalRow { @Override public Object get(int ordinal, DataType dataType) { if (ordinal < HoodieRecord.HOODIE_META_COLUMNS.size()) { return UTF8String.fromBytes(getMetaColumnVal(ordinal).getBytes()); } return row.get(ordinal, dataType); } HoodieInternalRow(String commitTime, String commitSeqNumber, String recordKey, String partitionPath,
      String fileName, InternalRow row); @Override int numFields(); @Override void setNullAt(int i); @Override void update(int i, Object value); @Override boolean isNullAt(int ordinal); @Override boolean getBoolean(int ordinal); @Override byte getByte(int ordinal); @Override short getShort(int ordinal); @Override int getInt(int ordinal); @Override long getLong(int ordinal); @Override float getFloat(int ordinal); @Override double getDouble(int ordinal); @Override Decimal getDecimal(int ordinal, int precision, int scale); @Override UTF8String getUTF8String(int ordinal); @Override String getString(int ordinal); @Override byte[] getBinary(int ordinal); @Override CalendarInterval getInterval(int ordinal); @Override InternalRow getStruct(int ordinal, int numFields); @Override ArrayData getArray(int ordinal); @Override MapData getMap(int ordinal); @Override Object get(int ordinal, DataType dataType); @Override InternalRow copy(); }
HoodieInternalRow extends InternalRow { @Override public Object get(int ordinal, DataType dataType) { if (ordinal < HoodieRecord.HOODIE_META_COLUMNS.size()) { return UTF8String.fromBytes(getMetaColumnVal(ordinal).getBytes()); } return row.get(ordinal, dataType); } HoodieInternalRow(String commitTime, String commitSeqNumber, String recordKey, String partitionPath,
      String fileName, InternalRow row); @Override int numFields(); @Override void setNullAt(int i); @Override void update(int i, Object value); @Override boolean isNullAt(int ordinal); @Override boolean getBoolean(int ordinal); @Override byte getByte(int ordinal); @Override short getShort(int ordinal); @Override int getInt(int ordinal); @Override long getLong(int ordinal); @Override float getFloat(int ordinal); @Override double getDouble(int ordinal); @Override Decimal getDecimal(int ordinal, int precision, int scale); @Override UTF8String getUTF8String(int ordinal); @Override String getString(int ordinal); @Override byte[] getBinary(int ordinal); @Override CalendarInterval getInterval(int ordinal); @Override InternalRow getStruct(int ordinal, int numFields); @Override ArrayData getArray(int ordinal); @Override MapData getMap(int ordinal); @Override Object get(int ordinal, DataType dataType); @Override InternalRow copy();  }