object read
Input operators.
- Alphabetic
- By Inheritance
- read
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def apply(file: Path): AnyRef
Reads a
Serializable
object/model. - def apply(file: String): AnyRef
Reads a
Serializable
object/model. - def arff(file: Path): DataFrame
Reads an ARFF file.
- def arff(file: String): DataFrame
Reads an ARFF file.
- def arrow(file: Path): DataFrame
Reads an Apache Arrow file.
- def arrow(file: String): DataFrame
Reads an Apache Arrow file.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def avro(file: Path, schema: Schema): DataFrame
Reads an Apache Avro file.
- def avro(file: String, schema: Schema): DataFrame
Reads an Apache Avro file.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def csv(file: Path, format: CSVFormat, schema: StructType): DataFrame
Reads a CSV file.
- def csv(file: String, format: CSVFormat, schema: StructType): DataFrame
Reads a CSV file.
- def csv(file: Path, delimiter: Char, header: Boolean, quote: Char, escape: Char, schema: StructType): DataFrame
Reads a CSV file.
- def csv(file: String, delimiter: Char = ',', header: Boolean = true, quote: Char = '"', escape: Char = '\\', schema: StructType = null): DataFrame
Reads a CSV file.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jdbc(rs: ResultSet): DataFrame
Reads a JDBC query result to a data frame.
- def json(file: Path, mode: Mode, schema: StructType): DataFrame
Reads a JSON file.
- def json(file: String, mode: Mode, schema: StructType): DataFrame
Reads a JSON file.
- def json(file: Path): DataFrame
Reads a JSON file.
- def json(file: String): DataFrame
Reads a JSON file.
- def libsvm(file: Path): Dataset[Instance[SparseArray]]
Reads a LivSVM file.
- def libsvm(file: String): Dataset[Instance[SparseArray]]
Reads a LivSVM file.
- 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 parquet(file: Path): DataFrame
Reads an Apache Parquet file.
- def parquet(file: String): DataFrame
Reads an Apache Parquet file.
- def sas(file: Path): DataFrame
Reads a SAS7BDAT file.
- def sas(file: String): DataFrame
Reads a SAS7BDAT file.
- 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(classOf[java.lang.InterruptedException])
- 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()
- def wavefront(file: Path): (Array[Array[Double]], Array[Array[Int]])
Reads a Wavefront OBJ file.
Reads a Wavefront OBJ file. The OBJ file format is a simple format of 3D geometry including the position of each vertex, the UV position of each texture coordinate vertex, vertex normals, and the faces that make each polygon defined as a list of vertices, and texture vertices. Vertices are stored in a counter-clockwise order by default, making explicit declaration of face normals unnecessary. OBJ coordinates have no units, but OBJ files can contain scale information in a human readable comment line.
Note that we parse only vertex and face elements. All other information ignored.
- file
the file path
- returns
a tuple of vertex array and edge array.
- def wavefront(file: String): (Array[Array[Double]], Array[Array[Int]])
Reads a Wavefront OBJ file.
- def xstream(file: Path): AnyRef
Reads an object/model that was serialized by XStream.
- def xstream(file: String): AnyRef
Reads an object/model that was serialized by XStream.
High level Smile operators in Scala.