本文整理了Java中org.apache.spark.sql.Row.getShort
方法的一些代码示例,展示了Row.getShort
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Row.getShort
方法的具体详情如下:
包路径:org.apache.spark.sql.Row
类名称:Row
方法名:getShort
暂无
代码示例来源:origin: apache/phoenix
@Override
public short getShort(int columnIndex) throws SQLException {
return getCurrentRow().getShort(columnIndex-1);
}
代码示例来源:origin: cloudera-labs/envelope
@Override
public short getShort(int arg0) {
return internalRow.getShort(arg0);
}
代码示例来源:origin: org.apache.spark/spark-sql_2.10
Assert.assertEquals(byteValue, simpleRow.getByte(1));
Assert.assertEquals(byteValue, simpleRow.get(1));
Assert.assertEquals(shortValue, simpleRow.getShort(2));
Assert.assertEquals(shortValue, simpleRow.get(2));
Assert.assertEquals(shortValue, simpleRow.getShort(3));
Assert.assertEquals(shortValue, simpleRow.get(3));
Assert.assertEquals(intValue, simpleRow.getInt(4));
代码示例来源:origin: org.apache.spark/spark-sql
Assert.assertEquals(byteValue, simpleRow.getByte(1));
Assert.assertEquals(byteValue, simpleRow.get(1));
Assert.assertEquals(shortValue, simpleRow.getShort(2));
Assert.assertEquals(shortValue, simpleRow.get(2));
Assert.assertEquals(shortValue, simpleRow.getShort(3));
Assert.assertEquals(shortValue, simpleRow.get(3));
Assert.assertEquals(intValue, simpleRow.getInt(4));
代码示例来源:origin: org.apache.spark/spark-sql_2.11
Assert.assertEquals(byteValue, simpleRow.getByte(1));
Assert.assertEquals(byteValue, simpleRow.get(1));
Assert.assertEquals(shortValue, simpleRow.getShort(2));
Assert.assertEquals(shortValue, simpleRow.get(2));
Assert.assertEquals(shortValue, simpleRow.getShort(3));
Assert.assertEquals(shortValue, simpleRow.get(3));
Assert.assertEquals(intValue, simpleRow.getInt(4));
代码示例来源:origin: cloudera-labs/envelope
break;
case INT16:
kuduRow.addShort(fieldName, plan.getShort(fieldIndex));
break;
case INT32:
内容来源于网络,如有侵权,请联系作者删除!