Represents a time by an offset into a binned bucket.
Maps a double within a known range to an Int in [0, bins)
Extended Z-order curve implementation used for efficiently storing polygons.
Extended Z-order curve implementation used for efficiently storing polygons.
Based on 'XZ-Ordering: A Space-Filling Curve for Objects with Spatial Extension' by Christian Böhm, Gerald Klump and Hans-Peter Kriegel
Extended Z-order curve implementation used for efficiently storing polygons.
Extended Z-order curve implementation used for efficiently storing polygons.
Based on 'XZ-Ordering: A Space-Filling Curve for Objects with Spatial Extension' by Christian Böhm, Gerald Klump and Hans-Peter Kriegel, expanded to 3 dimensions
z2 space-filling curve
Z3 space filling curve
XZ3SFC with a legacy, incorrect max time value of 52 weeks.
XZ3SFC with a legacy, incorrect max time value of 52 weeks. The max value is kept the same to ensure that index keys and query ranges are consistent. Any dates that exceed the original max time will be dropped into the last time bin, potentially degrading results for the last day or two of the year.
(Since version 3.2.0) XZ3SFC
Z3SFC with a legacy, incorrect max time value of 52 weeks.
Z3SFC with a legacy, incorrect max time value of 52 weeks. The max value is kept the same to ensure that index keys and query ranges are consistent. Any dates that exceed the original max time will be dropped into the last time bin, potentially degrading results for the last day or two of the year.
(Since version 3.2.0) Z3SFC
(Since version 1.3.2) Z3SFC
(Since version 1.3.2) Z2SFC
(Since version 1.3.2) Z3SFC
Represents a time by an offset into a binned bucket. The bin represents days, weeks, months or years since the java epoch. The offset represents milliseconds, seconds, or hours into that bin.
Times can be partitioned based on four periods:
TimePeriod.Day bin => day offset => milliseconds max date => 2059/09/18
TimePeriod.Week bin => week offset => seconds max date => 2598/01/04
TimePeriod.Month bin => month offset => seconds max date => 4700/08/31
TimePeriod.Year bin => year offset => minutes max date => 34737/12/31
number of time periods from the java epoch
precise offset into the specific time period