[ https://issues.apache.org/jira/browse/SPARK-9395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-9395: ----------------------------------- Assignee: Reynold Xin (was: Apache Spark) > Create a SpecializedGetters interface to track all the specialized getters > -------------------------------------------------------------------------- > > Key: SPARK-9395 > URL: https://issues.apache.org/jira/browse/SPARK-9395 > Project: Spark > Issue Type: Sub-task > Components: SQL > Reporter: Reynold Xin > Assignee: Reynold Xin > > As we are adding more and more specialized getters to more classes, we should > have an interface to make sure we always declare all of them in all classes. > {code} > public interface SpecializedGetters { > boolean isNullAt(int ordinal); > boolean getBoolean(int ordinal); > byte getByte(int ordinal); > short getShort(int ordinal); > int getInt(int ordinal); > long getLong(int ordinal); > float getFloat(int ordinal); > double getDouble(int ordinal); > Decimal getDecimal(int ordinal); > UTF8String getUTF8String(int ordinal); > byte[] getBinary(int ordinal); > Interval getInterval(int ordinal); > InternalRow getStruct(int ordinal, int numFields); > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org