本文整理了Java中org.apache.spark.unsafe.Platform.putBoolean()
方法的一些代码示例,展示了Platform.putBoolean()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Platform.putBoolean()
方法的具体详情如下:
包路径:org.apache.spark.unsafe.Platform
类名称:Platform
方法名:putBoolean
暂无
代码示例来源:origin: org.apache.spark/spark-catalyst_2.11
protected final void writeBoolean(long offset, boolean value) {
Platform.putBoolean(getBuffer(), offset, value);
}
代码示例来源:origin: org.apache.spark/spark-catalyst
protected final void writeBoolean(long offset, boolean value) {
Platform.putBoolean(getBuffer(), offset, value);
}
代码示例来源:origin: shunfei/indexr
@Override
public void setBoolean(int ordinal, boolean value) {
assertIndexIsValid(ordinal);
Platform.putBoolean(baseObject, getFieldOffset(ordinal), value);
}
代码示例来源:origin: org.apache.spark/spark-catalyst_2.10
public void write(int ordinal, boolean value) {
final long offset = getFieldOffset(ordinal);
Platform.putLong(holder.buffer, offset, 0L);
Platform.putBoolean(holder.buffer, offset, value);
}
代码示例来源:origin: org.apache.spark/spark-catalyst_2.11
public void setBoolean(int ordinal, boolean value) {
assertIndexIsValid(ordinal);
Platform.putBoolean(baseObject, getElementOffset(ordinal, 1), value);
}
代码示例来源:origin: org.apache.spark/spark-catalyst_2.10
public void setNullBoolean(int ordinal) {
setNullBit(ordinal);
// put zero into the corresponding field when set null
Platform.putBoolean(holder.buffer, getElementOffset(ordinal, 1), false);
}
代码示例来源:origin: org.apache.spark/spark-catalyst_2.10
public void write(int ordinal, boolean value) {
assertIndexIsValid(ordinal);
Platform.putBoolean(holder.buffer, getElementOffset(ordinal, 1), value);
}
代码示例来源:origin: org.apache.spark/spark-catalyst_2.10
public void setBoolean(int ordinal, boolean value) {
assertIndexIsValid(ordinal);
Platform.putBoolean(baseObject, getElementOffset(ordinal, 1), value);
}
代码示例来源:origin: org.apache.spark/spark-catalyst
public void setBoolean(int ordinal, boolean value) {
assertIndexIsValid(ordinal);
Platform.putBoolean(baseObject, getElementOffset(ordinal, 1), value);
}
代码示例来源:origin: org.apache.spark/spark-catalyst
@Override
public void setBoolean(int ordinal, boolean value) {
assertIndexIsValid(ordinal);
setNotNullAt(ordinal);
Platform.putBoolean(baseObject, getFieldOffset(ordinal), value);
}
代码示例来源:origin: org.apache.spark/spark-catalyst_2.11
@Override
public void setBoolean(int ordinal, boolean value) {
assertIndexIsValid(ordinal);
setNotNullAt(ordinal);
Platform.putBoolean(baseObject, getFieldOffset(ordinal), value);
}
代码示例来源:origin: org.apache.spark/spark-catalyst_2.10
@Override
public void setBoolean(int ordinal, boolean value) {
assertIndexIsValid(ordinal);
setNotNullAt(ordinal);
Platform.putBoolean(baseObject, getFieldOffset(ordinal), value);
}
内容来源于网络,如有侵权,请联系作者删除!