class IoCommands extends AnyRef
Commands for simple file I/O in the REPL.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IoCommands
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new IoCommands(options: PipelineOptions)
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
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
-
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()
-
def
readAvro[T](path: String)(implicit arg0: ClassTag[T]): Iterator[T]
Read from an Avro file on local filesystem or GCS.
-
def
readCsv[T](path: String, sep: Char = ',', header: Boolean = false)(implicit arg0: RowDecoder[T]): Iterator[T]
Read from a CSV file on local filesystem or GCS.
-
def
readText(path: String): Iterator[String]
Read from a text file on local filesystem or GCS.
-
def
readTsv[T](path: String, sep: Char = '\t', header: Boolean = false)(implicit arg0: RowDecoder[T]): Iterator[T]
Read from a TSV file on local filesystem or GCS.
-
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( ... )
-
def
writeAvro[T](path: String, data: Seq[T])(implicit arg0: ClassTag[T]): Unit
Write to an Avro file on local filesystem or GCS.
-
def
writeCsv[T](path: String, data: Seq[T], sep: Char = ',', header: Seq[String] = Seq.empty)(implicit arg0: RowEncoder[T]): Unit
Write to a CSV file on local filesystem or GCS.
-
def
writeText(path: String, data: Seq[String]): Unit
Write to a text file on local filesystem or GCS.
-
def
writeTsv[T](path: String, data: Seq[T], sep: Char = '\t', header: Seq[String] = Seq.empty)(implicit arg0: RowEncoder[T]): Unit
Write to a TSV file on local filesystem or GCS.