trait ParsingConverter[T] extends SimpleFeatureConverter
Converter that parses out intermediate values from an input stream
- T
type binding
- Alphabetic
- By Inheritance
- ParsingConverter
- SimpleFeatureConverter
- LazyLogging
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
close(): Unit
- Definition Classes
- Closeable → AutoCloseable
- Annotations
- @throws( classOf[java.io.IOException] )
-
abstract
def
convert(values: CloseableIterator[T], ec: EvaluationContext): CloseableIterator[SimpleFeature]
Convert parsed values into simple features
Convert parsed values into simple features
- values
parsed values, from
parse
- ec
evaluation context
-
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
- Definition Classes
- SimpleFeatureConverter
-
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
- Definition Classes
- SimpleFeatureConverter
-
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
- Definition Classes
- SimpleFeatureConverter
-
abstract
def
targetSft: SimpleFeatureType
Result feature type
Result feature type
- Definition Classes
- SimpleFeatureConverter
Concrete Value Members
-
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
- Definition Classes
- SimpleFeatureConverter