Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.domain.project
Enum OdiProcedureLineCmd.CommitMode

java.lang.Object
  extended by java.lang.Enum<OdiProcedureLineCmd.CommitMode>
      extended by oracle.odi.domain.project.OdiProcedureLineCmd.CommitMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OdiProcedureLineCmd.CommitMode>
Enclosing class:
OdiProcedureLineCmd

public static enum OdiProcedureLineCmd.CommitMode
extends java.lang.Enum<OdiProcedureLineCmd.CommitMode>

Commit Mode

Internal Enum that represents the commit mode to be applied to a Command when executed.

COMMIT: execution will commit underlying DB transaction
NO_COMMIT: execution will not commit underlying DB transaction
COMMIT_AFTER_1000_ROWS: execution will commit underlying DB transaction each 1000 rows


Enum Constant Summary
COMMIT
          execution will commit underlying DB transaction.
COMMIT_AFTER_1000_ROWS
          execution will commit underlying DB transaction each 1000 rows.
DO_NOT_COMMIT
          execution will not commit underlying DB transaction.
 
Method Summary
static OdiProcedureLineCmd.CommitMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OdiProcedureLineCmd.CommitMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

COMMIT

public static final OdiProcedureLineCmd.CommitMode COMMIT
execution will commit underlying DB transaction.


COMMIT_AFTER_1000_ROWS

public static final OdiProcedureLineCmd.CommitMode COMMIT_AFTER_1000_ROWS
execution will commit underlying DB transaction each 1000 rows.


DO_NOT_COMMIT

public static final OdiProcedureLineCmd.CommitMode DO_NOT_COMMIT
execution will not commit underlying DB transaction.

Method Detail

valueOf

public static OdiProcedureLineCmd.CommitMode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

values

public static OdiProcedureLineCmd.CommitMode[] 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 (OdiProcedureLineCmd.CommitMode c : OdiProcedureLineCmd.CommitMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.