org.locationtech.geomesa.convert.text
DelimitedTextConverter
Companion class DelimitedTextConverter
object DelimitedTextConverter
- Alphabetic
- By Inheritance
- DelimitedTextConverter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class CharEnabled(char: Char) extends OptionalChar with Product with Serializable
- case class DelimitedTextConfig(type: String, format: String, idField: Option[Expression], caches: Map[String, Config], userData: Map[String, Expression]) extends ConverterConfig with Product with Serializable
- case class DelimitedTextOptions(skipLines: Option[Int], quote: OptionalChar, escape: OptionalChar, delimiter: Option[Char], validators: Seq[String], reporters: Seq[Config], parseMode: ParseMode, errorMode: ErrorMode, encoding: Charset) extends ConverterOptions with Product with Serializable
- sealed trait OptionalChar extends AnyRef
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()
-
def
createFormat(name: String, options: DelimitedTextOptions): CSVFormat
Create a csv format for parsing
Create a csv format for parsing
- name
format name
- options
configuration options
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
def
iterator(format: CSVFormat, is: InputStream, encoding: Charset, skip: Int, ec: EvaluationContext): CloseableIterator[CSVRecord]
Creates a csv iterator over an input stream
Creates a csv iterator over an input stream
- format
parsing format
- is
input stream
- encoding
charset
- skip
number of header lines to skip
- ec
evalution context
-
def
magicParsing(typeName: String, is: InputStream, format: CSVFormat = Formats.QuotedMinimal): CloseableIterator[SimpleFeature]
Parses a delimited file with a 'magic' header.
Parses a delimited file with a 'magic' header. The first column must be the feature ID, and the header must be
id. Subsequent columns must be the feature attributes, in order. For each attribute, the header must be a simple feature type attribute specification, consisting of the attribute name and the attribute bindingFor example:
id,name:String,age:Int,*geom:Point:srid=4326 fid-0,name0,0,POINT(40 50) fid-1,name1,1,POINT(41 51)
- typeName
simple feature type name
- is
input stream
- format
parsing format
-
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()
-
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()
- object CharDisabled extends OptionalChar with Product with Serializable
- object CharNotSpecified extends OptionalChar with Product with Serializable
- object Formats