org.locationtech.geomesa.convert2
SimpleFeatureConverter
Companion object SimpleFeatureConverter
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.
- Alphabetic
- By Inheritance
- 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
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
-
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
-
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
-
abstract
def
targetSft: SimpleFeatureType
Result feature type
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated