class GmlExporter extends ByteCounterExporter
GML exporter implementation.
The geotools GML export classes only support encoding a feature collection. To support our usage pattern (start, export n times, end), we create an asynchronous feature collection and do the actual encoding in a separate thread. The encoder thread will block until there are more features to export, so that we only get a single feature collection in the xml.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GmlExporter
- ByteCounterExporter
- FeatureExporter
- Closeable
- AutoCloseable
- ByteCounter
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
bytes: Long
Number of bytes written so far (including buffered output).
Number of bytes written so far (including buffered output).
Note that this may be expensive to calculate.
- Definition Classes
- ByteCounterExporter → ByteCounter
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
close(): Unit
- Definition Classes
- GmlExporter → Closeable → AutoCloseable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
export(features: Iterator[SimpleFeature]): Option[Long]
Export a batch of features
Export a batch of features
- features
features to export
- returns
count of features exported, if available
- Definition Classes
- GmlExporter → FeatureExporter
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
start(sft: SimpleFeatureType): Unit
Start the export
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()