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

E13403-03

oracle.javatools.db.ora
Class MaterializedViewLog

java.lang.Object
  extended by oracle.javatools.db.AbstractDBObject
      extended by oracle.javatools.db.AbstractBuildableObject
          extended by oracle.javatools.db.AbstractSchemaObject
              extended by oracle.javatools.db.ora.MaterializedViewLog
All Implemented Interfaces:
DBObject, SchemaObject, SystemObject, Copyable, DynamicPropertySet

public class MaterializedViewLog
extends AbstractSchemaObject


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject
AbstractDBObject.ChildSupport
 
Field Summary
static java.lang.String TYPE
           
 
Fields inherited from interface oracle.javatools.db.DBObject
COMMENT
 
Constructor Summary
MaterializedViewLog()
           
MaterializedViewLog(java.lang.String name, Schema schema)
           
 
Method Summary
 DBObject copyTo(DBObject target, DBObject copyParent, IDPolicy idPolicy)
          Internal copy method used by the API to perform copy operations.
protected  void copyToImpl(MaterializedViewLog copy, DBObject copyParent, IDPolicy idPolicy)
           
 boolean equals(java.lang.Object o)
           
protected  boolean equalsImpl(MaterializedViewLog copy)
           
 java.lang.Boolean getCache()
           
 DBObjectID[] getColumnIDs()
          Gets the list of columns in the "WITH" clause of the Materialized View Log.
 java.lang.Boolean getLogging()
          Deprecated. Storage properties of the Materialized View Log are stored on an OracleStorageProperties object in the Materialized View Log property map, keyed by OracleStorageProperties.KEY
 java.lang.String getLogTable()
          Returns the name of the table in which the changes are logged
 DBObjectID getMasterTableID()
          Returns the ID of the master table whose changes are logged
 java.lang.Boolean getNewValues()
           
 java.lang.Boolean getObjectIdLogged()
          Whether object id is recorded in this log.
 int getParallel()
          Get the degree of parallelism (the number of parallel threads used in the parallel operation) where : 0 = PARALLEL DEFAULT (Oracle server selects the degree) 1 = NOPARALLEL (default) n = PARALLEL n
 java.lang.Boolean getPrimaryKeyLogged()
          Whether primary key information is recorded in this log.
protected  void getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
          Implementation first checks that the object has been built - then returns the collection from suprt.getReferenceIDsImpl().
 java.lang.Boolean getRowidLogged()
          Whether row information is recorded in this log.
 java.lang.Boolean getSequenceLogged()
          Whether sequence value is recorded in this log.
 java.lang.String getTablespace()
          Deprecated. Storage properties of the Materialized View Log are stored on an OracleStorageProperties object in the Materialized View Log property map, keyed by OracleStorageProperties.KEY
 java.lang.String getType()
          Returns the type of this object.
 boolean isColumsFiltered()
          Whether filtered column information is recorded in this log.
 boolean replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)
          Override in subclasses to replace reference IDs as appropriate.
 void setCache(java.lang.Boolean cache)
           
 void setColumnIDs(DBObjectID[] colIDs)
          Sets the list of columns in the "WITH" clause of the Materialized View Log.
 void setColumnsFiltered(boolean filter)
          Deprecated. - use setColumns
 void setLogging(java.lang.Boolean logging)
          Deprecated. Storage properties of the Materialized View Log are stored on an OracleStorageProperties object in the Materialized View Log property map, keyed by OracleStorageProperties.KEY
 void setLogTable(java.lang.String logTable)
          Sets the name of the table in which the changes are logged
 void setMasterTableID(DBObjectID masterTableID)
          Sets the ID of the master table whose changes are logged
 void setNewValues(java.lang.Boolean newValues)
           
 void setObjectIdLogged(java.lang.Boolean objectid)
          Specifies whether object id is recorded in this log.
 void setParallel(int parallel)
          Set the degree of parallelism (the number of parallel threads used in the parallel operation) where : 0 = PARALLEL DEFAULT (Oracle server selects the degree) 1 = NOPARALLEL (default) n = PARALLEL n
 void setPrimaryKeyLogged(java.lang.Boolean pk)
          Specifies whether primary key information is recorded in this log.
 void setRowidLogged(java.lang.Boolean rowid)
          Specifies whether row information is recorded in this log.
 void setSequenceLogged(java.lang.Boolean sequence)
          Specifies whether sequence value is recorded in this log.
 void setTablespace(java.lang.String tablespace)
          Deprecated. Storage properties of the Materialized View Log are stored on an OracleStorageProperties object in the Materialized View Log property map, keyed by OracleStorageProperties.KEY
 
Methods inherited from class oracle.javatools.db.AbstractSchemaObject
addObjectListener, copyToImpl, equalsImpl, getParent, getSchema, removeObjectListener, setSchema
 
Methods inherited from class oracle.javatools.db.AbstractBuildableObject
addObjectListener, checkInit, checkInit, checkInitEx, copyToImpl, equalsImpl, fireObjectUpdated, getOwnedObjectsImpl, getProperties, getProperty, getProperty, needsInitialization, removeObjectListener, setProperties, setProperty
 
Methods inherited from class oracle.javatools.db.AbstractDBObject
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyToImpl, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, setID, setName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.javatools.db.SystemObject
addObjectListener, fireObjectUpdated, removeObjectListener
 
Methods inherited from interface oracle.javatools.db.DBObject
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, setID, setName
 
Methods inherited from interface oracle.javatools.util.DynamicPropertySet
getProperties, getProperty, getProperty, setProperties, setProperty
 

Field Detail

TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values
Constructor Detail

MaterializedViewLog

public MaterializedViewLog()

MaterializedViewLog

public MaterializedViewLog(java.lang.String name,
                           Schema schema)
Method Detail

copyTo

public DBObject copyTo(DBObject target,
                       DBObject copyParent,
                       IDPolicy idPolicy)
Description copied from class: AbstractDBObject
Internal copy method used by the API to perform copy operations. All objects must implement this method if they are instantiable objects. Abstract objects (e.g. Relation) must NOT implement this method. The implementation should delegate to the copyToImpl method to copy the actual properties.

This method does not fix internal reference ids on copy. That is done by the calling DBObject.copyTo(DBObject, IDPolicy) method.

Specified by:
copyTo in class AbstractDBObject
See Also:
DBObject.copyTo(java.lang.Object), DBObject.copyTo(DBObject, boolean), AbstractDBObject.copyToImpl(oracle.javatools.db.AbstractDBObject, oracle.javatools.db.DBObject, oracle.javatools.db.IDPolicy)

copyToImpl

protected void copyToImpl(MaterializedViewLog copy,
                          DBObject copyParent,
                          IDPolicy idPolicy)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

equalsImpl

protected boolean equalsImpl(MaterializedViewLog copy)

getType

public java.lang.String getType()
Description copied from interface: DBObject
Returns the type of this object. Valid types include things like tables, views, synonyms, and columns.

Returns:
a string describing the type of object.

getMasterTableID

public DBObjectID getMasterTableID()
Returns the ID of the master table whose changes are logged

Returns:
a string of the table or materialized view name

setMasterTableID

public void setMasterTableID(DBObjectID masterTableID)
Sets the ID of the master table whose changes are logged

Parameters:
master - a string of the table or materialized view name

getLogTable

public java.lang.String getLogTable()
Returns the name of the table in which the changes are logged

Returns:
a string of the table or materialized view name

setLogTable

public void setLogTable(java.lang.String logTable)
Sets the name of the table in which the changes are logged

Parameters:
logTable - a string of the table or materialized view name

getTablespace

@Deprecated
public java.lang.String getTablespace()
Deprecated. Storage properties of the Materialized View Log are stored on an OracleStorageProperties object in the Materialized View Log property map, keyed by OracleStorageProperties.KEY

Returns the tablespace in which the materialized view log is to be created. If left blank or null, then the database creates the materialized view log in the default tablespace of the schema of the materialized view log.

Returns:
a string of the tablespace name.

setTablespace

@Deprecated
public void setTablespace(java.lang.String tablespace)
Deprecated. Storage properties of the Materialized View Log are stored on an OracleStorageProperties object in the Materialized View Log property map, keyed by OracleStorageProperties.KEY

Sets the tablespace in which the materialized view log is to be created. If left blank or null, then the database creates the materialized view log in the default tablespace of the schema of the materialized view log.

Parameters:
tablespace - a string of the tablespace name (or null or "" for default)

getRowidLogged

public java.lang.Boolean getRowidLogged()
Whether row information is recorded in this log.

Returns:
true if materialized view log records rowid information.

setRowidLogged

public void setRowidLogged(java.lang.Boolean rowid)
Specifies whether row information is recorded in this log.

Parameters:
rowid - set to true if materialized view log is to record rowid information.

getPrimaryKeyLogged

public java.lang.Boolean getPrimaryKeyLogged()
Whether primary key information is recorded in this log.

Returns:
true if materialized view log records PK information.

setPrimaryKeyLogged

public void setPrimaryKeyLogged(java.lang.Boolean pk)
Specifies whether primary key information is recorded in this log.

Parameters:
pk - set to true if materialized view log is to record PK information.

getObjectIdLogged

public java.lang.Boolean getObjectIdLogged()
Whether object id is recorded in this log.

Returns:
true if materialized view log records the object id.

setObjectIdLogged

public void setObjectIdLogged(java.lang.Boolean objectid)
Specifies whether object id is recorded in this log. This only relevant when creating a log on an object table.

Parameters:
objectid - set to true if materialized view log is to record object ID.

getSequenceLogged

public java.lang.Boolean getSequenceLogged()
Whether sequence value is recorded in this log.

Returns:
true if materialized view log records the sequence value, which provides additional ordering information

setSequenceLogged

public void setSequenceLogged(java.lang.Boolean sequence)
Specifies whether sequence value is recorded in this log.

Parameters:
sequence - set to true if materialized view log is to record sequence value, which provides additional ordering information

isColumsFiltered

public boolean isColumsFiltered()
Whether filtered column information is recorded in this log.

Returns:
true if materialized view log records filtered column information.

setColumnsFiltered

@Deprecated
public void setColumnsFiltered(boolean filter)
Deprecated. - use setColumns

Specifies whether filtered column information is recorded in this log.

Parameters:
set - to true if materialized view log is to record filtered column information.

getLogging

@Deprecated
public java.lang.Boolean getLogging()
Deprecated. Storage properties of the Materialized View Log are stored on an OracleStorageProperties object in the Materialized View Log property map, keyed by OracleStorageProperties.KEY


setLogging

@Deprecated
public void setLogging(java.lang.Boolean logging)
Deprecated. Storage properties of the Materialized View Log are stored on an OracleStorageProperties object in the Materialized View Log property map, keyed by OracleStorageProperties.KEY


getNewValues

public java.lang.Boolean getNewValues()

setNewValues

public void setNewValues(java.lang.Boolean newValues)

setParallel

public void setParallel(int parallel)
Set the degree of parallelism (the number of parallel threads used in the parallel operation) where :


getParallel

public int getParallel()
Get the degree of parallelism (the number of parallel threads used in the parallel operation) where :


getCache

public java.lang.Boolean getCache()

setCache

public void setCache(java.lang.Boolean cache)

getColumnIDs

public DBObjectID[] getColumnIDs()
Gets the list of columns in the "WITH" clause of the Materialized View Log.


setColumnIDs

public void setColumnIDs(DBObjectID[] colIDs)
Sets the list of columns in the "WITH" clause of the Materialized View Log.


getReferenceIDsImpl

protected void getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
Description copied from class: AbstractBuildableObject
Implementation first checks that the object has been built - then returns the collection from suprt.getReferenceIDsImpl(). All overrides must call this first to ensure the object has been built.

Overrides:
getReferenceIDsImpl in class AbstractBuildableObject
Parameters:
refs - the collection of ids this object references

replaceReferenceIDs

public boolean replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)
Description copied from class: AbstractDBObject
Override in subclasses to replace reference IDs as appropriate. Always call super in the overridden implementation to make sure the default implementation (which checks the property map) is called.

Specified by:
replaceReferenceIDs in interface DBObject
Overrides:
replaceReferenceIDs in class AbstractDBObject
Parameters:
idMap - key = old DBObjectID, value = new DBObjectID
Returns:
true if any ids were replaced.

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

E13403-03

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