public enum DataFileFormat extends java.lang.Enum<DataFileFormat>
Example data file for Column Format:
"Jan" "Feb" "Dec"
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Name" "Coke" "Pepsi" "Sprint"
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Price" 5 5 4
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Discount Percentage" 0.1 0.5 0.15
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Sale Date" 10/28/2019 10/8/2018 1/30/2020
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Condition" Good Average Poor
Example data file for Column Format With Dimenison Headers:
"Years" "Scenario" "Version" "Currency" "Entity" "Grades" "Employee" "Account" "Period"
"Jan" "Feb" "Dec"
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Name" "Coke" "Pepsi" "Sprint"
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Price" 5 5 4
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Discount Percentage" 0.1 0.5 0.15
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Sale Date" 10/28/2019 10/8/2018 1/30/2020
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Condition" Good Average Poor
Example data file for Cell Format:
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Name" "Jan" "Coke"
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Name" "Feb" "Pepsi"
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Name" "Dec" "Sprint"
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Price" "Jan" 5
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Price" "Feb" 5
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Price" "Dec" 4
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Discount Percentage" "Jan" 0.1
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Discount Percentage" "Feb" 0.5
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Discount Percentage" "Dec" 0.15
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Sale Date" "Jan" 10/28/2019
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Sale Date" "Feb" 10/8/2018
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Sale Date" "Dec" 1/30/2020
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Condition" "Jan" Good
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Condition" "Feb" Average
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Condition" "Dec" Poor
Example data file for Cell Format With Dimension Headers:
"Years" "Scenario" "Version" "Currency" "Entity" "Grades" "Employee" "Account" "Period"
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Name" "Jan" "Coke"
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Name" "Feb" "Pepsi"
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Name" "Dec" "Sprint"
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Price" "Jan" 5
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Price" "Feb" 5
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Price" "Dec" 4
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Discount Percentage" "Jan" 0.1
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Discount Percentage" "Feb" 0.5
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Discount Percentage" "Dec" 0.15
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Sale Date" "Jan" 10/28/2019
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Sale Date" "Feb" 10/8/2018
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Sale Date" "Dec" 1/30/2020
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Condition" "Jan" Good
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Condition" "Feb" Average
"FY19" "Current" "BU Version_1" "EUR" "CA" "Grade 1" "Employee 1" "Condition" "Dec" Poor
Enum Constant and Description |
---|
CELL_FORMAT |
CELL_FORMAT_WITH_DIM_HEADERS |
COLUMN_FORMAT |
COLUMN_FORMAT_WITH_DIM_HEADERS |
ESSBASE_FORMAT |
Modifier and Type | Method and Description |
---|---|
static DataFileFormat |
fromString(java.lang.String displayName)
Returns an instance of the enum with the specified display name.
|
java.lang.String |
getDisplayName()
Returns the name of this enum constant, as contained in the
declaration.
|
static ExecuteAsUser |
getExecuteAsUser(int type)
Returns an instance of the enum with the specified type.
|
int |
getType()
Returns the integer type of this enum constant, as contained in the
declaration.
|
java.lang.String |
toString()
Returns the display name of this enum constant, as contained in the
declaration.
|
static DataFileFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataFileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataFileFormat CELL_FORMAT
public static final DataFileFormat CELL_FORMAT_WITH_DIM_HEADERS
public static final DataFileFormat COLUMN_FORMAT
public static final DataFileFormat COLUMN_FORMAT_WITH_DIM_HEADERS
public static final DataFileFormat ESSBASE_FORMAT
public static DataFileFormat fromString(java.lang.String displayName)
displayName
- user friendly namepublic java.lang.String getDisplayName()
public static ExecuteAsUser getExecuteAsUser(int type)
type
- user typepublic int getType()
public java.lang.String toString()
toString
in class java.lang.Enum<DataFileFormat>
public static DataFileFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static DataFileFormat[] values()
for (DataFileFormat c : DataFileFormat.values()) System.out.println(c);
Copyright © 2017, 2024, Oracle and/or its affiliates. All rights reserved.