本文整理了Java中com.datastax.driver.core.Row.getShort
方法的一些代码示例,展示了Row.getShort
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Row.getShort
方法的具体详情如下:
包路径:com.datastax.driver.core.Row
类名称:Row
方法名:getShort
暂无
代码示例来源:origin: apache/ignite
return row.isNull(col) ? null : row.getShort(col);
return row.getShort(col);
代码示例来源:origin: org.apache.cassandra/cassandra-all
@Override
public short getShort(int i)
{
return row.getShort(i);
}
代码示例来源:origin: com.strapdata.cassandra/cassandra-all
@Override
public short getShort(String s)
{
return row.getShort(s);
}
代码示例来源:origin: org.apache.cassandra/cassandra-all
@Override
public short getShort(String s)
{
return row.getShort(s);
}
代码示例来源:origin: jsevellec/cassandra-unit
@Override
public short getShort(int i)
{
return row.getShort(i);
}
代码示例来源:origin: jsevellec/cassandra-unit
@Override
public short getShort(String s)
{
return row.getShort(s);
}
代码示例来源:origin: com.strapdata.cassandra/cassandra-all
@Override
public short getShort(int i)
{
return row.getShort(i);
}
代码示例来源:origin: locationtech/geowave
@Override
public short getAdapterId() {
return row.getShort(CassandraField.GW_ADAPTER_ID_KEY.getFieldName());
}
}
代码示例来源:origin: com.github.ddth/ddth-mappings-core
result = row.getByte(colName);
} else if (clazz == short.class || clazz == Short.class) {
result = row.getShort(colName);
} else if (clazz == int.class || clazz == Integer.class) {
result = row.getInt(colName);
代码示例来源:origin: org.springframework.data/spring-data-cassandra
value = row.getByte(index);
} else if (short.class == requiredType || Short.class == requiredType) {
value = row.getShort(index);
} else if (int.class == requiredType || Integer.class == requiredType) {
value = row.getInt(index);
代码示例来源:origin: org.wso2.carbon.data/org.wso2.carbon.dataservices.core
paramValue = new ParamValue(row.isNull(i) ? null : Integer.toString(row.getByte(i)));
} else if (columnType.getName().equals(DataType.Name.SMALLINT)) {
paramValue = new ParamValue(row.isNull(i) ? null : Integer.toString(row.getShort(i)));
} else if (columnType.getName().equals(DataType.Name.TIME)) {
paramValue = new ParamValue(row.isNull(i) ? null : ConverterUtil.convertToString(row.getTime(i)));
内容来源于网络,如有侵权,请联系作者删除!