MLContext
@Deprecated public class MLBlock extends Object implements org.apache.spark.sql.Row
Modifier and Type | Field and Description |
---|---|
MatrixBlock |
block
Deprecated.
|
MatrixIndexes |
indexes
Deprecated.
|
Constructor and Description |
---|
MLBlock(MatrixIndexes indexes,
MatrixBlock block)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
anyNull()
Deprecated.
|
Object |
apply(int arg0)
Deprecated.
|
org.apache.spark.sql.Row |
copy()
Deprecated.
|
int |
fieldIndex(String arg0)
Deprecated.
|
Object |
get(int arg0)
Deprecated.
|
<T> T |
getAs(int arg0)
Deprecated.
|
<T> T |
getAs(String arg0)
Deprecated.
|
boolean |
getBoolean(int arg0)
Deprecated.
|
byte |
getByte(int arg0)
Deprecated.
|
Date |
getDate(int arg0)
Deprecated.
|
BigDecimal |
getDecimal(int arg0)
Deprecated.
|
static org.apache.spark.sql.types.StructType |
getDefaultSchemaForBinaryBlock()
Deprecated.
|
double |
getDouble(int arg0)
Deprecated.
|
float |
getFloat(int arg0)
Deprecated.
|
int |
getInt(int arg0)
Deprecated.
|
<K,V> Map<K,V> |
getJavaMap(int arg0)
Deprecated.
|
<T> List<T> |
getList(int arg0)
Deprecated.
|
long |
getLong(int arg0)
Deprecated.
|
<K,V> scala.collection.Map<K,V> |
getMap(int arg0)
Deprecated.
|
<T> scala.collection.Seq<T> |
getSeq(int arg0)
Deprecated.
|
short |
getShort(int arg0)
Deprecated.
|
String |
getString(int arg0)
Deprecated.
|
org.apache.spark.sql.Row |
getStruct(int arg0)
Deprecated.
|
Timestamp |
getTimestamp(int position)
Deprecated.
|
<T> scala.collection.immutable.Map<String,T> |
getValuesMap(scala.collection.Seq<String> arg0)
Deprecated.
|
boolean |
isNullAt(int arg0)
Deprecated.
|
int |
length()
Deprecated.
|
String |
mkString()
Deprecated.
|
String |
mkString(String arg0)
Deprecated.
|
String |
mkString(String arg0,
String arg1,
String arg2)
Deprecated.
|
org.apache.spark.sql.types.StructType |
schema()
Deprecated.
|
int |
size()
Deprecated.
|
scala.collection.Seq<Object> |
toSeq()
Deprecated.
|
public MatrixIndexes indexes
public MatrixBlock block
public MLBlock(MatrixIndexes indexes, MatrixBlock block)
public boolean anyNull()
anyNull
in interface org.apache.spark.sql.Row
public Object apply(int arg0)
apply
in interface org.apache.spark.sql.Row
public org.apache.spark.sql.Row copy()
copy
in interface org.apache.spark.sql.Row
public Object get(int arg0)
get
in interface org.apache.spark.sql.Row
public <T> T getAs(int arg0)
getAs
in interface org.apache.spark.sql.Row
public <T> T getAs(String arg0)
getAs
in interface org.apache.spark.sql.Row
public boolean getBoolean(int arg0)
getBoolean
in interface org.apache.spark.sql.Row
public byte getByte(int arg0)
getByte
in interface org.apache.spark.sql.Row
public Date getDate(int arg0)
getDate
in interface org.apache.spark.sql.Row
public BigDecimal getDecimal(int arg0)
getDecimal
in interface org.apache.spark.sql.Row
public double getDouble(int arg0)
getDouble
in interface org.apache.spark.sql.Row
public float getFloat(int arg0)
getFloat
in interface org.apache.spark.sql.Row
public int getInt(int arg0)
getInt
in interface org.apache.spark.sql.Row
public <K,V> Map<K,V> getJavaMap(int arg0)
getJavaMap
in interface org.apache.spark.sql.Row
public <T> List<T> getList(int arg0)
getList
in interface org.apache.spark.sql.Row
public long getLong(int arg0)
getLong
in interface org.apache.spark.sql.Row
public int fieldIndex(String arg0)
fieldIndex
in interface org.apache.spark.sql.Row
public <K,V> scala.collection.Map<K,V> getMap(int arg0)
getMap
in interface org.apache.spark.sql.Row
public <T> scala.collection.immutable.Map<String,T> getValuesMap(scala.collection.Seq<String> arg0)
getValuesMap
in interface org.apache.spark.sql.Row
public <T> scala.collection.Seq<T> getSeq(int arg0)
getSeq
in interface org.apache.spark.sql.Row
public short getShort(int arg0)
getShort
in interface org.apache.spark.sql.Row
public String getString(int arg0)
getString
in interface org.apache.spark.sql.Row
public org.apache.spark.sql.Row getStruct(int arg0)
getStruct
in interface org.apache.spark.sql.Row
public boolean isNullAt(int arg0)
isNullAt
in interface org.apache.spark.sql.Row
public int length()
length
in interface org.apache.spark.sql.Row
public String mkString()
mkString
in interface org.apache.spark.sql.Row
public String mkString(String arg0)
mkString
in interface org.apache.spark.sql.Row
public String mkString(String arg0, String arg1, String arg2)
mkString
in interface org.apache.spark.sql.Row
public org.apache.spark.sql.types.StructType schema()
schema
in interface org.apache.spark.sql.Row
public int size()
size
in interface org.apache.spark.sql.Row
public scala.collection.Seq<Object> toSeq()
toSeq
in interface org.apache.spark.sql.Row
public static org.apache.spark.sql.types.StructType getDefaultSchemaForBinaryBlock()
public Timestamp getTimestamp(int position)
getTimestamp
in interface org.apache.spark.sql.Row
Copyright © 2017 The Apache Software Foundation. All rights reserved.