Package org.apache.sysds.common
Enum Types.FileFormat
- java.lang.Object
- 
- java.lang.Enum<Types.FileFormat>
- 
- org.apache.sysds.common.Types.FileFormat
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Types.FileFormat>
 - Enclosing class:
- Types
 
 public static enum Types.FileFormat extends Enum<Types.FileFormat> 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Types.FileFormatdefaultFormat()static StringdefaultFormatString()booleanisDelimitedFormat()static booleanisDelimitedFormat(String fmt)booleanisIJV()booleanisTextFormat()static booleanisTextFormat(String fmt)static Types.FileFormatsafeValueOf(String fmt)StringtoString()static Types.FileFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static Types.FileFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
TEXTpublic static final Types.FileFormat TEXT 
 - 
MMpublic static final Types.FileFormat MM 
 - 
CSVpublic static final Types.FileFormat CSV 
 - 
LIBSVMpublic static final Types.FileFormat LIBSVM 
 - 
JSONLpublic static final Types.FileFormat JSONL 
 - 
BINARYpublic static final Types.FileFormat BINARY 
 - 
FEDERATEDpublic static final Types.FileFormat FEDERATED 
 - 
PROTOpublic static final Types.FileFormat PROTO 
 - 
HDF5public static final Types.FileFormat HDF5 
 
- 
 - 
Method Detail- 
valuespublic static Types.FileFormat[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Types.FileFormat c : Types.FileFormat.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Types.FileFormat valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
isIJVpublic boolean isIJV() 
 - 
isTextFormatpublic boolean isTextFormat() 
 - 
isTextFormatpublic static boolean isTextFormat(String fmt) 
 - 
isDelimitedFormatpublic boolean isDelimitedFormat() 
 - 
isDelimitedFormatpublic static boolean isDelimitedFormat(String fmt) 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Enum<Types.FileFormat>
 
 - 
defaultFormatpublic static Types.FileFormat defaultFormat() 
 - 
defaultFormatStringpublic static String defaultFormatString() 
 - 
safeValueOfpublic static Types.FileFormat safeValueOf(String fmt) 
 
- 
 
-