org.locationtech.geomesa.arrow.io
SimpleFeatureArrowFileReader
Companion trait SimpleFeatureArrowFileReader
object SimpleFeatureArrowFileReader
- Alphabetic
- By Inheritance
- SimpleFeatureArrowFileReader
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type VectorToIterator = (SimpleFeatureVector) => Iterator[ArrowSimpleFeature]
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 caching(is: InputStream): SimpleFeatureArrowFileReader
A reader that caches results in memory.
A reader that caches results in memory. Repeated calls to
features()will not require re-reading the input stream. Returned features will be valid untilclose()is called- is
input stream
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @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
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def read(bytes: Array[Byte]): List[SimpleFeature]
Reads an arrow file into memory
Reads an arrow file into memory
- bytes
file bytes
- def read(is: InputStream): List[SimpleFeature]
Reads an arrow file into memory.
Reads an arrow file into memory. Note that if the file is large, it may be better to access it with one of the streaming methods instead.
- is
input stream
- def streaming(bytes: Array[Byte]): SimpleFeatureArrowFileReader
Create a reader from a byte array.
Create a reader from a byte array. Returned features may not be valid after a call to
next(), as the underlying data may be reclaimed.- bytes
file bytes
- def streaming(is: InputStream): SimpleFeatureArrowFileReader
A reader that streams results.
A reader that streams results. Note that
features()can only be called one time, as the input stream will be exhausted. Returned features may not be valid after a call tonext(), as the underlying data may be reclaimed.- is
input stream
- def streaming(is: () => InputStream): SimpleFeatureArrowFileReader
A reader that streams results.
A reader that streams results. Repeated calls to
features()will read a new instance of the input stream. Returned features may not be valid after a call tonext(), as the underlying data may be reclaimed.- is
creates a new input stream for reading
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)