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

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

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

Row.getByte介绍

暂无

代码示例

代码示例来源:origin: apache/phoenix

@Override
public byte getByte(int columnIndex) throws SQLException {
  wasNull = getCurrentRow().isNullAt(columnIndex-1);
  return wasNull ? 0 : getCurrentRow().getByte(columnIndex-1);
}

代码示例来源:origin: cloudera-labs/envelope

@Override
public byte getByte(int arg0) {
 return internalRow.getByte(arg0);
}

代码示例来源:origin: org.apache.spark/spark-sql_2.10

Assert.assertEquals(byteValue, simpleRow.getByte(0));
Assert.assertEquals(byteValue, simpleRow.get(0));
Assert.assertEquals(byteValue, simpleRow.getByte(1));
Assert.assertEquals(byteValue, simpleRow.get(1));
Assert.assertEquals(shortValue, simpleRow.getShort(2));

代码示例来源:origin: org.apache.spark/spark-sql_2.11

Assert.assertEquals(byteValue, simpleRow.getByte(0));
Assert.assertEquals(byteValue, simpleRow.get(0));
Assert.assertEquals(byteValue, simpleRow.getByte(1));
Assert.assertEquals(byteValue, simpleRow.get(1));
Assert.assertEquals(shortValue, simpleRow.getShort(2));

代码示例来源:origin: org.apache.spark/spark-sql

Assert.assertEquals(byteValue, simpleRow.getByte(0));
Assert.assertEquals(byteValue, simpleRow.get(0));
Assert.assertEquals(byteValue, simpleRow.getByte(1));
Assert.assertEquals(byteValue, simpleRow.get(1));
Assert.assertEquals(shortValue, simpleRow.getShort(2));

代码示例来源:origin: cloudera-labs/envelope

break;
case INT8:
 kuduRow.addByte(fieldName, plan.getByte(fieldIndex));
 break;
case INT16:

相关文章