public enum MatrixFormat extends Enum<MatrixFormat>
| Enum Constant and Description | 
|---|
| CSVComma-separated value format (dense). | 
| DF_DOUBLESDataFrame of doubles with no row index. | 
| DF_DOUBLES_WITH_INDEXDataFrame of doubles with a row index. | 
| DF_VECTORVector DataFrame with no row index. | 
| DF_VECTOR_WITH_INDEXVector DataFrame with a row index. | 
| IJV(I J V) format (sparse). | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | hasIDColumn()Does the DataFrame have a row index? | 
| boolean | isVectorBased()Is the matrix format vector-based? | 
| static MatrixFormat | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static MatrixFormat[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final MatrixFormat CSV
public static final MatrixFormat IJV
public static final MatrixFormat DF_DOUBLES_WITH_INDEX
public static final MatrixFormat DF_DOUBLES
public static final MatrixFormat DF_VECTOR_WITH_INDEX
public static final MatrixFormat DF_VECTOR
public static MatrixFormat[] values()
for (MatrixFormat c : MatrixFormat.values()) System.out.println(c);
public static MatrixFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isVectorBased()
true if matrix is a vector-based DataFrame, false
         otherwise.public boolean hasIDColumn()
true if the DataFrame has a row index, false
         otherwise.Copyright © 2021 The Apache Software Foundation. All rights reserved.