gpt4 book ai didi

com.bigdata.service.geospatial.ZOrderRangeScanUtil.load()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-18 16:11:31 25 4
gpt4 key购买 nike

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

ZOrderRangeScanUtil.load介绍

[英]Implements the load function from p.75 in http://www.vision-tools.com/h-tropf/multidimensionalrangequery.pdf: If firstBitSet, then load 10000... is executed as defined in the paper (setting the bit identified through position to 1 and all following bits in the respective dimension to 0); otherwise load 01111... is executed (which sets the bit identified through position to 0 and all following bits of the dimension to 1). The method has no return value, but instead as a side effect the passed array arr will be modified.
[中]在中实现p.75中的加载功能http://www.vision-tools.com/h-tropf/multidimensionalrangequery.pdf:如果是firstBitSet,则加载10000。。。按照文件中的定义执行(将通过位置标识的位设置为1,并将相应维度中的所有后续位设置为0);否则加载01111。。。执行(将通过位置标识的位设置为0,并将维度的所有后续位设置为1)。该方法没有返回值,但作为副作用,将修改传递的数组arr。

代码示例

代码示例来源:origin: blazegraph/database

ZOrderRangeScanUtil.load(true, 2, testByteArray1, 2); /* modifies input */
final byte[] exp1 = 
  { Byte.valueOf("00100000",2), Byte.valueOf("01010101",2), Byte.valueOf("01010101",2) };
ZOrderRangeScanUtil.load(false, 11, testByteArray2, 2); /* modifies input */
final byte[] exp2 = 
  { Byte.valueOf("00100000",2), Byte.valueOf("01101111",2), Byte.valueOf("01010101",2) };
ZOrderRangeScanUtil.load(true, 5, testByteArray3, 3); /* modifies input */
final byte[] exp3 = 
  { Byte.valueOf("00000100",2), Byte.valueOf("01101101",2), Byte.valueOf("00110110",2) };

代码示例来源:origin: com.blazegraph/bigdata-rdf-test

ZOrderRangeScanUtil.load(true, 2, testByteArray1, 2); /* modifies input */
final byte[] exp1 = 
  { Byte.valueOf("00100000",2), Byte.valueOf("01010101",2), Byte.valueOf("01010101",2) };
ZOrderRangeScanUtil.load(false, 11, testByteArray2, 2); /* modifies input */
final byte[] exp2 = 
  { Byte.valueOf("00100000",2), Byte.valueOf("01101111",2), Byte.valueOf("01010101",2) };
ZOrderRangeScanUtil.load(true, 5, testByteArray3, 3); /* modifies input */
final byte[] exp3 = 
  { Byte.valueOf("00000100",2), Byte.valueOf("01101101",2), Byte.valueOf("00110110",2) };

代码示例来源:origin: blazegraph/database

load(true /* setFirst */, i, bigmin, numDimensions);
load(false, i, max, numDimensions);
load(true, i, min, numDimensions);

代码示例来源:origin: com.blazegraph/bigdata-core

load(true /* setFirst */, i, bigmin, numDimensions);
load(false, i, max, numDimensions);
load(true, i, min, numDimensions);

代码示例来源:origin: blazegraph/database

ZOrderRangeScanUtil.load(true, 2, testByteArray1, 2); /* modifies input */
final byte[] exp1 = 
  { Byte.valueOf("00100000",2), Byte.valueOf("01010101",2), Byte.valueOf("01010101",2) };
ZOrderRangeScanUtil.load(false, 11, testByteArray2, 2); /* modifies input */
final byte[] exp2 = 
  { Byte.valueOf("00100000",2), Byte.valueOf("01101111",2), Byte.valueOf("01010101",2) };
ZOrderRangeScanUtil.load(true, 5, testByteArray3, 3); /* modifies input */
final byte[] exp3 = 
  { Byte.valueOf("00000100",2), Byte.valueOf("01101101",2), Byte.valueOf("00110110",2) };

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com