Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Support BinaryType.
  • Loading branch information
rxin committed Jul 27, 2015
commit fb6ca303bf7bafe587c24e1022b9d2ab2a4115fc
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ public Object get(int ordinal, DataType dataType) {
return getInt(ordinal);
} else if (dataType instanceof TimestampType) {
return getLong(ordinal);
} else if (dataType instanceof BinaryType) {
return getBinary(ordinal);
} else if (dataType instanceof StringType) {
return getUTF8String(ordinal);
} else if (dataType instanceof StructType) {
Expand Down