Global

Members

module

Copyright 2014 Lance Ball Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Source:

Methods

module:eclairjs.FloatRDD#persist Set this RDD's storage level to persist its values across operations after the first time it is computed. Can only be called once on each RDD.(newLevel) → {module:eclairjs.FloatRDD}

Parameters:
Name Type Description
newLevel module:eclairjs/storage.StorageLevel
Source:
Returns:
Type
module:eclairjs.FloatRDD

module:eclairjs.List#toArray Returns an array containing all of the elements in this list in proper sequence (from first to last element).() → {Array}

Source:
Returns:
Type
Array

module:eclairjs.PairRDD#cache Persist this RDD with the default storage level (`MEMORY_ONLY`).() → {module:eclairjs.RDD}

Source:
Returns:
Type
module:eclairjs.RDD

module:eclairjs.PairRDD#coalesce Return a new RDD that is reduced into `numPartitions` partitions.(numPartitions, shuffleopt) → {module:eclairjs.PairRDD}

Parameters:
Name Type Attributes Description
numPartitions number
shuffle boolean <optional>
Source:
Returns:
Type
module:eclairjs.PairRDD

module:eclairjs.PairRDD#distinct Return a new RDD containing the distinct elements in this RDD.(numPartitionsopt) → {module:eclairjs.PairRDD}

Parameters:
Name Type Attributes Description
numPartitions number <optional>
Source:
Returns:
Type
module:eclairjs.PairRDD

module:eclairjs.PairRDD#filter Return a new PairRDD containing only the elements that satisfy a predicate.(func, bindArgsopt) → {module:eclairjs.PairRDD}

Parameters:
Name Type Attributes Description
func function
bindArgs Array.<Object> <optional>
array whose values will be added to func's argument list.
Source:
Returns:
Type
module:eclairjs.PairRDD

module:eclairjs.PairRDD#intersection Note that this method performs a shuffle internally.(other) → {module:eclairjs.PairRDD}

Return the intersection of this RDD and another one. The output will not contain any duplicate elements, even if the input RDDs did.
Parameters:
Name Type Description
other module:eclairjs.PairRDD
Source:
Returns:
Type
module:eclairjs.PairRDD

module:eclairjs.PairRDD#keys Return an RDD with the keys of each tuple.() → {module:eclairjs.PairRDD}

Source:
Returns:
Type
module:eclairjs.PairRDD

module:eclairjs.PairRDD#persist Set this RDD's storage level to persist its values across operations after the first time it is computed. Can only be called once on each RDD.(newLevel) → {module:eclairjs.PairRDD}

Parameters:
Name Type Description
newLevel module:eclairjs/storage.StorageLevel
Source:
Returns:
Type
module:eclairjs.PairRDD

module:eclairjs.PairRDD#repartition Return a new RDD that has exactly numPartitions partitions. Can increase or decrease the level of parallelism in this RDD. Internally, this uses a shuffle to redistribute data. If you are decreasing the number of partitions in this RDD, consider using `coalesce`, which can avoid performing a shuffle.(numPartitions) → {module:eclairjs.PairRDD}

Parameters:
Name Type Description
numPartitions number
Source:
Returns:
Type
module:eclairjs.PairRDD

module:eclairjs.PairRDD#sample Return a sampled subset of this RDD.(withReplacement, fraction, seedopt) → {module:eclairjs.PairRDD}

Parameters:
Name Type Attributes Description
withReplacement boolean
fraction number
seed number <optional>
Source:
Returns:
Type
module:eclairjs.PairRDD

module:eclairjs.PairRDD#unpersist Mark the RDD as non-persistent, and remove all blocks for it from memory and disk.(blockingopt) → {module:eclairjs.PairRDD}

Parameters:
Name Type Attributes Description
blocking boolean <optional>
Whether to block until all blocks are deleted.
Source:
Returns:
Type
module:eclairjs.PairRDD

module:eclairjs.PairRDD#values Return an RDD with the values of each tuple.() → {module:eclairjs.RDD}

Source:
Returns:
Type
module:eclairjs.RDD

module:eclairjs/mllib/linalg.LabeledPoint#getFeatures Returns features() → {module:eclairjs/mllib/linalg.Vector}

Source:
Returns:
Type
module:eclairjs/mllib/linalg.Vector

module:eclairjs/mllib/linalg.LabeledPoint#getLabel Returns label() → {float}

Source:
Returns:
Type
float

module:eclairjs/mllib/linalg.LabeledPoint#parse Parses a string resulted from LabeledPoint#toString into an LabeledPoint.(string) → {module:eclairjs/mllib/regression.LabeledPoint}

Parameters:
Name Type Description
string
Source:
Returns:
Type
module:eclairjs/mllib/regression.LabeledPoint

module:eclairjs/mllib/linalg.LabeledPoint#toString Returns string representation of object() → {string}

Source:
Returns:
Type
string

module:eclairjs/sql.Dataset#first returns {module:eclairjs/sql.Row}()

Returns the first row. Alias for head().
Source: