public class ZOrderRangeScanUtil extends Object
Constructor and Description |
---|
ZOrderRangeScanUtil(byte[] searchMinZOrder,
byte[] searchMaxZOrder,
int numDimensions)
Constructor for the
ZOrderRangeScanUtil . |
Modifier and Type | Method and Description |
---|---|
byte[] |
calculateBigMin(byte[] dividingRecord)
Returns the BIGMIN, i.e.
|
boolean |
isInSearchRange(byte[] dividingRecord)
Checks if the dividing record passed as arguments is in the
multi-dimensional search range defined by this class.
|
static void |
load(boolean setFirst,
int position,
byte[] arr,
int numDimensions)
Implements the load function from p.75 in
http://www.vision-tools.com/h-tropf/multidimensionalrangequery.pdf:
If firstBitSet, then load 10000...
|
public ZOrderRangeScanUtil(byte[] searchMinZOrder, byte[] searchMaxZOrder, int numDimensions)
ZOrderRangeScanUtil
.searchMinZOrder
- the top-left (minimum) valuesearchMaxZOrder
- the bottom-righ (maximum) valuenumDimensions
- the number of dimensionspublic boolean isInSearchRange(byte[] dividingRecord)
public byte[] calculateBigMin(byte[] dividingRecord)
GeoSpatialLiteralExtension
for details).
This method implements the BIGMIN decision table as provided in
http://www.vision-tools.com/h-tropf/multidimensionalrangequery.pdf,
see page 76.iv
- the IV of the dividing recordpublic static void load(boolean setFirst, int position, byte[] arr, int numDimensions)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.