class CachedDistriDataSet[T] extends DistributedDataSet[T]
Wrap a RDD as a DataSet.
- Alphabetic
- By Inheritance
- CachedDistriDataSet
- DistributedDataSet
- AbstractDataSet
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
->[C](transformer: Transformer[T, C])(implicit arg0: ClassTag[C]): DataSet[C]
Helper function to transform the data type in the data set.
Helper function to transform the data type in the data set.
- Definition Classes
- AbstractDataSet
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cache(): Unit
Trigger the computation of this dataset and cache it in memory.
Trigger the computation of this dataset and cache it in memory.
- Definition Classes
- CachedDistriDataSet → DistributedDataSet
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
lazy val
count: Long
- Attributes
- protected
-
def
data(train: Boolean): RDD[T]
Get a sequence of data
Get a sequence of data
- train
if the data is used in train. If yes, the data sequence is a looped endless sequence, or it has a limited length.
- returns
data sequence
- Definition Classes
- CachedDistriDataSet → AbstractDataSet
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.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()
-
var
indexes: RDD[Array[Int]]
- Attributes
- protected
-
val
isCached: Boolean
Check if rdd is cached.
Check if rdd is cached.
- Definition Classes
- DistributedDataSet
-
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
originRDD(): RDD[_]
Get the 'origin' RDD of the dataset.
Get the 'origin' RDD of the dataset.
- Definition Classes
- CachedDistriDataSet → DistributedDataSet
-
def
shuffle(): Unit
Change the order of the data sequence from the data set
Change the order of the data sequence from the data set
- Definition Classes
- CachedDistriDataSet → AbstractDataSet
-
def
size(): Long
Total size of the data set
Total size of the data set
- Definition Classes
- CachedDistriDataSet → AbstractDataSet
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toDistributed(): DistributedDataSet[T]
Convert current DataSet to a distributed DataSet, in which we use a RDD to represent the data sequence.
Convert current DataSet to a distributed DataSet, in which we use a RDD to represent the data sequence.
- Definition Classes
- AbstractDataSet
-
def
toLocal(): LocalDataSet[T]
Convert current DataSet to a local DataSet, in which we use an iterator to represent the data sequence.
Convert current DataSet to a local DataSet, in which we use an iterator to represent the data sequence.
- Definition Classes
- AbstractDataSet
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
transform[C](transformer: Transformer[T, C])(implicit arg0: ClassTag[C]): DataSet[C]
Helper function to transform the data type in the data set.
Helper function to transform the data type in the data set.
- Definition Classes
- DistributedDataSet → AbstractDataSet
-
def
unpersist(): Unit
Unpersist rdd.
Unpersist rdd.
- Definition Classes
- CachedDistriDataSet → DistributedDataSet
-
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
- @native() @throws( ... )