Skip to content

Commit

Permalink
Support BinaryType.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Jul 27, 2015
1 parent 24a3e46 commit fb6ca30
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit fb6ca30

Please sign in to comment.