Class SpatialDimensionRowTransformer

java.lang.Object
org.apache.druid.segment.incremental.SpatialDimensionRowTransformer
All Implemented Interfaces:
com.google.common.base.Function<InputRow,InputRow>, Function<InputRow,InputRow>

public class SpatialDimensionRowTransformer extends Object implements com.google.common.base.Function<InputRow,InputRow>
We throw away all invalid spatial dimensions
  • Constructor Details

  • Method Details

    • apply

      public InputRow apply(InputRow row)
      Specified by:
      apply in interface com.google.common.base.Function<InputRow,InputRow>
      Specified by:
      apply in interface Function<InputRow,InputRow>
    • decode

      @Nullable public static float[] decode(String encodedCoordinate)
      Decodes encodedCoordinate.
      Parameters:
      encodedCoordinate - encoded coordinate
      Returns:
      decoded coordinate, or null if it could not be decoded