Class GeoJsonPathFilter

  • All Implemented Interfaces:
    org.apache.hadoop.fs.PathFilter

    public class GeoJsonPathFilter
    extends java.lang.Object
    implements org.apache.hadoop.fs.PathFilter
    A PathFilter to find GeoJson files
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(org.apache.hadoop.fs.Path path)  
      java.lang.String getExtension()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeoJsonPathFilter

        public GeoJsonPathFilter()
        Default constructor
      • GeoJsonPathFilter

        public GeoJsonPathFilter​(boolean compressed)
        Constructs a GeoJsonPathFilter with compression flag
        Parameters:
        compressed - if true, filters on the compressed file form
    • Method Detail

      • accept

        public boolean accept​(org.apache.hadoop.fs.Path path)
        Specified by:
        accept in interface org.apache.hadoop.fs.PathFilter
      • getExtension

        public java.lang.String getExtension()
        Returns:
        the file extension used for filtering