public enum ScriptType extends Enum<ScriptType>
Enum Constant and Description |
---|
DML
R-like syntax.
|
PYDML
Python-like syntax.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDML()
Is the script type DML?
|
boolean |
isPYDML()
Is the script type PYDML?
|
String |
lowerCase()
Obtain script type as a lowercase string ("dml" or "pydml").
|
static ScriptType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScriptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptType DML
public static final ScriptType PYDML
public static ScriptType[] values()
for (ScriptType c : ScriptType.values()) System.out.println(c);
public static ScriptType 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 String lowerCase()
public boolean isDML()
true
if the script type is DML, false
otherwisepublic boolean isPYDML()
true
if the script type is PYDML, false
otherwiseCopyright © 2017 The Apache Software Foundation. All rights reserved.