org.apache.spark.sql.Row.getShort()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(117)

本文整理了Java中org.apache.spark.sql.Row.getShort方法的一些代码示例,展示了Row.getShort的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Row.getShort方法的具体详情如下:
包路径:org.apache.spark.sql.Row
类名称:Row
方法名:getShort

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:

相关文章