Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.javatools.db.ora
Enum MaterializedView.RewriteCapability

java.lang.Object
  extended by java.lang.Enum<MaterializedView.RewriteCapability>
      extended by oracle.javatools.db.ora.MaterializedView.RewriteCapability
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MaterializedView.RewriteCapability>
Enclosing class:
MaterializedView

public static enum MaterializedView.RewriteCapability
extends java.lang.Enum<MaterializedView.RewriteCapability>

Valid values for the rewrite capability

See Also:
MaterializedView.getRewriteType()

Enum Constant Summary
GENERAL
          Materialized view cannot be used for rewrite, because rewrite is disallowed or prevented
NONE
          Materialized view cannot be used for rewrite, because rewrite is disallowed or prevented.
TEXTMATCH
          Defining query of the materialized view contained no restrictions on the use of query rewrite, so the Oracle Database can apply any rewrite rule that is supported
 
Method Summary
static MaterializedView.RewriteCapability valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MaterializedView.RewriteCapability[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

NONE

public static final MaterializedView.RewriteCapability NONE
Materialized view cannot be used for rewrite, because rewrite is disallowed or prevented.

See Also:
MaterializedView.getRewriteType()

TEXTMATCH

public static final MaterializedView.RewriteCapability TEXTMATCH
Defining query of the materialized view contained no restrictions on the use of query rewrite, so the Oracle Database can apply any rewrite rule that is supported


GENERAL

public static final MaterializedView.RewriteCapability GENERAL
Materialized view cannot be used for rewrite, because rewrite is disallowed or prevented

Method Detail

values

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

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

valueOf

public static MaterializedView.RewriteCapability 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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.