Packages

trait SimpleFeatureConverter extends Closeable with LazyLogging

Converts input streams into simple features. SimpleFeatureConverters should be thread-safe. However, a given EvaluationContext should only be used in a single thread at once.

Linear Supertypes
LazyLogging, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleFeatureConverter
  2. LazyLogging
  3. Closeable
  4. AutoCloseable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def close(): Unit
    Definition Classes
    Closeable → AutoCloseable
    Annotations
    @throws( classOf[java.io.IOException] )
  2. abstract def createEvaluationContext(globalParams: Map[String, Any], success: Counter, failure: Counter): EvaluationContext

    Create a context used for local state while processing.

    Create a context used for local state while processing. A context object is not thread-safe, and should only be used in one thread at a time.

    globalParams

    global key-values to make accessible through the evaluation context

    success

    counter for tracking successful conversions

    failure

    counter for tracking failed conversions

  3. abstract def createEvaluationContext(globalParams: Map[String, Any] = Map.empty): EvaluationContext

    Create a context used for local state while processing.

    Create a context used for local state while processing. A context object is not thread-safe, and should only be used in one thread at a time.

    globalParams

    global key-values to make accessible through the evaluation context

  4. abstract def process(is: InputStream, ec: EvaluationContext = createEvaluationContext()): CloseableIterator[SimpleFeature]

    Process an input stream into simple features.

    Process an input stream into simple features.

    This method should be thread-safe, as long as different evaluation contexts are used for each request.

    is

    input

    ec

    evaluation context

  5. abstract def targetSft: SimpleFeatureType

    Result feature type

Concrete Value Members

  1. final def createEvaluationContext(globalParams: Map[String, Any]): EvaluationContext

    Java API for createEvaluationContext

    Java API for createEvaluationContext

    globalParams

    global key-values to make accessible through the evaluation context