Skip to content

Commit

Permalink
ValueCategory.SPATIAL -> ValueCategory.GEOMETRY
Browse files Browse the repository at this point in the history
  • Loading branch information
burqen authored and tinwelint committed Mar 26, 2018
1 parent b1e2bcc commit 5868fbe
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public int selectSlot( Value... values )
Value singleValue = values[0];
switch ( singleValue.valueGroup().category() )
{
case SPATIAL:
case GEOMETRY:
return SPATIAL;
case TEMPORAL:
return TEMPORAL;
Expand All @@ -73,7 +73,7 @@ public IndexReader select( IndexReader[] instances, IndexQuery... predicates )
IndexQuery predicate = predicates[0];
switch ( predicate.valueGroup().category() )
{
case SPATIAL:
case GEOMETRY:
return instances[SPATIAL];
case TEMPORAL:
return instances[TEMPORAL];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public int selectSlot( Value... values )
{
case NUMBER:
return NUMBER;
case SPATIAL:
case GEOMETRY:
return SPATIAL;
case TEMPORAL:
return TEMPORAL;
Expand All @@ -76,7 +76,7 @@ public IndexReader select( IndexReader[] instances, IndexQuery... predicates )
{
case NUMBER:
return instances[NUMBER];
case SPATIAL:
case GEOMETRY:
return instances[SPATIAL];
case TEMPORAL:
return instances[TEMPORAL];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public int selectSlot( Value... values )
return NUMBER;
case TEXT:
return STRING;
case SPATIAL:
case GEOMETRY:
return SPATIAL;
case TEMPORAL:
return TEMPORAL;
Expand All @@ -80,7 +80,7 @@ public IndexReader select( IndexReader[] instances, IndexQuery... predicates )
return instances[NUMBER];
case TEXT:
return instances[STRING];
case SPATIAL:
case GEOMETRY:
return instances[SPATIAL];
case TEMPORAL:
return instances[TEMPORAL];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public enum ValueCategory
{
NUMBER,
TEXT,
SPATIAL,
GEOMETRY,
TEMPORAL,
REST,
UNKNOWN,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public enum ValueGroup
TEXT_ARRAY( REST ),
BOOLEAN_ARRAY( REST ),
NUMBER_ARRAY( REST ),
GEOMETRY( ValueCategory.SPATIAL ),
GEOMETRY( ValueCategory.GEOMETRY ),
ZONED_DATE_TIME( TEMPORAL ),
LOCAL_DATE_TIME( TEMPORAL ),
DATE( TEMPORAL ),
Expand Down

0 comments on commit 5868fbe

Please sign in to comment.