oracle.dmt.odm
Class SparsitySpecification
java.lang.Object
|
+--oracle.dmt.odm.Enum
|
+--oracle.dmt.odm.SparsitySpecification
- All Implemented Interfaces:
- java.io.Serializable
- public class SparsitySpecification
- extends Enum
The enumeration class SparsitySpecification
indicates whether the attribute representation is dense or sparse. By default, all the attributes are dense. I.e. all the attribute values are repeated as many times as they are present. In sparse representation, the most common value for an attribute is eliminated ( not represented), only the exception values are present. When an attribute is defined to be sparse, its most common value is missing from the dataset. The semantics of the value are as follows:
- dense - Specifies that attribute values are repeated as many times as they are present.
- sparse - Specifies that the most common value for an attribute is eliminated, and only the exception values are present.
- Since:
- 10.1.0
- See Also:
- Serialized Form
Method Summary |
static SparsitySpecification |
getInstance(int id)
Returns SparsitySpecification enumeration object corresponding to the specified ID. |
static SparsitySpecification |
getInstance(java.lang.String name)
Returns SparsitySpecification enumeration object corresponding to the specified name. |
static SparsitySpecification[] |
list()
Returns the list of all SparsitySpecification enumerations defined. |
static java.lang.String[] |
listNames()
Returns the list of names of all SparsitySpecification enumerations defined. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dense
public static final SparsitySpecification dense
sparse
public static final SparsitySpecification sparse
listNames
public static java.lang.String[] listNames()
- Returns the list of names of all
SparsitySpecification
enumerations defined.
-
- Returns:
- array of names for the
SparsitySpecification
enumeration
list
public static SparsitySpecification[] list()
- Returns the list of all
SparsitySpecification
enumerations defined.
-
- Returns:
- array of enumeration values for the
SparsitySpecification
enumeration
getInstance
public static SparsitySpecification getInstance(java.lang.String name)
- Returns
SparsitySpecification
enumeration object corresponding to the specified name.
-
- Parameters:
name
- of the sparsity specification
- Returns:
- instance of the
SparsitySpecification
enumeration object corresponding to the given name
, null if there is no enumeration for this name.
getInstance
public static SparsitySpecification getInstance(int id)
- Returns
SparsitySpecification
enumeration object corresponding to the specified ID.
-
- Parameters:
id
- (0, 1)
- Returns:
- instance of the
SparsitySpecification
enumeration object corresponding to the given id
, null if there is no enumeration for id.