本文整理了Java中org.apache.nifi.serialization.record.Record.getAsInt
方法的一些代码示例,展示了Record.getAsInt
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Record.getAsInt
方法的具体详情如下:
包路径:org.apache.nifi.serialization.record.Record
类名称:Record
方法名:getAsInt
暂无
代码示例来源:origin: apache/nifi
break;
case INT8:
row.addByte(colIdx, record.getAsInt(colName).byteValue());
break;
case INT16:
row.addShort(colIdx, record.getAsInt(colName).shortValue());
break;
case INT32:
row.addInt(colIdx, record.getAsInt(colName));
break;
case INT64:
代码示例来源:origin: apache/nifi
Integer bIntValue = record.getAsInt(fieldName);
val = bIntValue == null ? null : bIntValue.byteValue();
break;
case SHORT:
Integer sIntValue = record.getAsInt(fieldName);
val = sIntValue == null ? null : sIntValue.shortValue();
break;
case INT:
val = record.getAsInt(fieldName);
break;
case LONG:
代码示例来源:origin: apache/nifi
break;
case INT:
retVal = clientService.toBytes(record.getAsInt(field));
break;
case LONG:
内容来源于网络,如有侵权,请联系作者删除!