|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Enum
edu.upc.dama.dex.io.Loader.Mode
public static final class Loader.Mode
Load can work in different ways.
| Field Summary | |
|---|---|
static Loader.Mode |
N_PHASES
Performs the load in N phases. |
static Loader.Mode |
ONE_PHASE
Performs the load in a phases. |
static Loader.Mode |
TWO_PHASES
Performs the load in two phases. |
| Method Summary | |
|---|---|
static Loader.Mode |
valueOf(java.lang.String name)
|
static Loader.Mode[] |
values()
|
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Loader.Mode ONE_PHASE
Load all objects an attributes at the same time.
public static final Loader.Mode TWO_PHASES
Firstly load all objects (and create them if necessary) and secondly loads all the attributes.
Working on this mode it is necessary to build a temporary file.
public static final Loader.Mode N_PHASES
Firstly load all objects (and create them if necessary) and
secondly loads all the attributes. But in this case, attributes
are loaded one by one. This way, if there are three attributes,
then 4 traverses to the RowReader are necessary.
Working on this mode it is necessary to build a temporary file.
| Method Detail |
|---|
public static Loader.Mode[] values()
public static Loader.Mode valueOf(java.lang.String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||