org.locationtech.geomesa.convert2
AbstractCompositeConverter
Companion object AbstractCompositeConverter
abstract class AbstractCompositeConverter[T <: AnyRef] extends SimpleFeatureConverter with LazyLogging
- Alphabetic
- By Inheritance
- AbstractCompositeConverter
- SimpleFeatureConverter
- LazyLogging
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AbstractCompositeConverter(sft: SimpleFeatureType, errorMode: ErrorMode, delegates: Seq[(Predicate, ParsingConverter[T])])
Concrete Value Members
-
def
close(): Unit
- Definition Classes
- AbstractCompositeConverter → Closeable → AutoCloseable
-
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
- AbstractCompositeConverter → SimpleFeatureConverter
-
def
createEvaluationContext(globalParams: Map[String, Any]): 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
- AbstractCompositeConverter → SimpleFeatureConverter
-
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
-
def
process(is: InputStream, ec: EvaluationContext): 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
- AbstractCompositeConverter → SimpleFeatureConverter
-
def
targetSft: SimpleFeatureType
Result feature type
Result feature type
- Definition Classes
- AbstractCompositeConverter → SimpleFeatureConverter