All Implemented Interfaces:
NamedWriteable, Writeable, Resolvable
Direct Known Subclasses:
SpatialRelatesFunction, StDistance

public abstract class BinarySpatialFunction extends BinaryScalarFunction
Spatial functions that take two arguments that must both be spatial types can inherit from this class. This provides common support for type resolution and validation. Ensuring that both arguments are spatial types and of compatible CRS. For example geo_point and geo_shape can be compared, but not geo_point and cartesian_point.
  • Field Details

    • leftDocValues

      protected final boolean leftDocValues
    • rightDocValues

      protected final boolean rightDocValues
  • Constructor Details

    • BinarySpatialFunction

      protected BinarySpatialFunction(Source source, Expression left, Expression right, boolean leftDocValues, boolean rightDocValues, boolean pointsOnly)
    • BinarySpatialFunction

      protected BinarySpatialFunction(StreamInput in, boolean leftDocValues, boolean rightDocValues, boolean pointsOnly) throws IOException
      Throws:
      IOException
  • Method Details