Enum ImportFormat
- java.lang.Object
-
- java.lang.Enum<ImportFormat>
-
- com.databricks.sdk.service.workspace.ImportFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<ImportFormat>
@Generated public enum ImportFormat extends Enum<ImportFormat>
This specifies the format of the file to be imported.The value is case sensitive.
- `AUTO`: The item is imported depending on an analysis of the item's extension and the header content provided in the request. If the item is imported as a notebook, then the item's extension is automatically removed. - `SOURCE`: The notebook is imported as source code. - `HTML`: The notebook is imported as an HTML file. - `JUPYTER`: The notebook is imported as a Jupyter/IPython Notebook file. - `DBC`: The notebook is imported in Databricks archive format. Required for directories. - `R_MARKDOWN`: The notebook is imported from R Markdown format.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImportFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImportFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final ImportFormat AUTO
-
DBC
public static final ImportFormat DBC
-
HTML
public static final ImportFormat HTML
-
JUPYTER
public static final ImportFormat JUPYTER
-
R_MARKDOWN
public static final ImportFormat R_MARKDOWN
-
SOURCE
public static final ImportFormat SOURCE
-
-
Method Detail
-
values
public static ImportFormat[] 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 (ImportFormat c : ImportFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImportFormat 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 nameNullPointerException
- if the argument is null
-
-