public class Filter extends GenericClause
Modifier and Type | Class and Description |
---|---|
static class |
Filter.FilterType
Deprecated.
this class/method belongs to 11g SDK and is deprecated in 12c release.
Types of filter for a filter clause.
|
Constructor and Description |
---|
Filter(DataSet pDataSet,
java.lang.String pSql,
Filter.FilterType pFilterType,
OdiInterface.ExecutionLocation pExecutionLocation)
Deprecated.
Internal use only
Builds a filter clause in the parent dataset using the specified SQL
expression text, clause type (normal or journalized) and the desired
execution location.
|
Modifier and Type | Method and Description |
---|---|
SourceDataStore |
getAttachedDataStore()
Deprecated.
Returns the source data store that this filter is attached to.
|
java.lang.String |
getBusinessRule()
Deprecated.
Returns the business rule description of this clause.
|
java.lang.Number |
getClauseId()
Deprecated.
Returns the internal ID of this clause.
|
int |
getClauseOrder()
Deprecated.
Returns the clause order of this clause.
|
DataSet |
getDataSet()
Deprecated.
Returns the parent dataset of this clause.
|
OdiInterface.ExecutionLocation |
getExecutionLocation()
Deprecated.
Returns the execution location of this clause.
|
Filter.FilterType |
getFilterType()
Deprecated.
Returns the clause type of this filter.
|
java.lang.String |
getGlobalId()
Deprecated.
Global ID is unique cross repositories.
|
OdiIndexType |
getIndexType1()
Deprecated.
Returns the temporary index type used for the left side of this clause.
|
OdiIndexType |
getIndexType2()
Deprecated.
Returns the temporary index type used for the right side of this clause.
|
SourceSet |
getSourceSet()
Deprecated.
Returns the source set where this clause is executed.
|
java.lang.String |
getSql()
Deprecated.
Returns the SQL expression text of this clause.
|
Expression |
getSqlExpression()
Deprecated.
Returns the SQL expression of this clause.
|
java.lang.Number |
getSqlExpressionId()
Deprecated.
Returns the internal ID of the SQL expression text for this clause.
|
java.lang.String |
getSubComponentDescription()
Deprecated.
Returns the sub component's description in a human-readable way.
|
java.lang.String |
getSubComponentDescription(java.util.Locale pLocale)
Deprecated.
Returns the sub component's description in a human-readable way for the given Locale.
|
java.lang.String |
getTechnicalDescription()
Deprecated.
Returns the technical description of the expression text of this clause.
|
boolean |
isEnabled()
Deprecated.
Returns whether this clause is active and enabled.
|
void |
setAttachedDataStore(SourceDataStore pAttachedDataStore)
Deprecated.
Internal use only
Sets the source data store that this filter is attached to.
|
void |
setBusinessRule(java.lang.String pBusinessRule)
Deprecated.
Internal use only
Set the business rule description of this clause.
|
void |
setClauseOrder(int pClauseOrder)
Deprecated.
Internal use only
Sets the clause order of this clause.
|
void |
setEnabled(boolean pEnabled)
Deprecated.
Internal use only
Sets whether this clause is active and enabled or not.
|
void |
setExecutionLocation(OdiInterface.ExecutionLocation pExecutionLocation)
Deprecated.
Internal use only
Sets the execution location of this clause.
|
void |
setIndexType1(OdiIndexType pIndexType1)
Deprecated.
Internal use only
Set the temporary index type used for the left side of this clause.
|
void |
setIndexType2(OdiIndexType pIndexType2)
Deprecated.
Internal use only
Set the temporary index type used for the right side of this clause.
|
void |
setIndexTypeCode1(java.lang.String pIndexTypeCode1)
Deprecated.
Internal use only
|
void |
setIndexTypeCode2(java.lang.String pIndexTypeCode2)
Deprecated.
Internal use only
|
void |
setSourceSet(SourceSet pSourceSet)
Deprecated.
Internal use only
Sets the source set where this clause will be executed.
|
void |
setSqlExpression(Expression pSqlExpression)
Deprecated.
Internal use only
Set the SQL expression for this clause.
|
getInternalId, getNonPersistedSql, getSecurityContainer, getSqlExpressionCrossRefsGlobalIds
public Filter(DataSet pDataSet, java.lang.String pSql, Filter.FilterType pFilterType, OdiInterface.ExecutionLocation pExecutionLocation)
pDataSet
- the parent dataset for this filter.pSql
- the SQL expression text for this filter.pFilterType
- the clause type.pExecutionLocation
- the execution location of this filter.public Filter.FilterType getFilterType()
setFilterType(oracle.odi.domain.project.interfaces.Filter.FilterType)
public SourceDataStore getAttachedDataStore()
setAttachedDataStore(oracle.odi.domain.project.interfaces.SourceDataStore)
,
setAttachedDataStore(SourceDataStore)
public void setAttachedDataStore(SourceDataStore pAttachedDataStore)
pAttachedDataStore
- The new source data store that this filter
is attached to.getAttachedDataStore()
public java.lang.String getSubComponentDescription()
IInterfaceSubComponent
public java.lang.String getSubComponentDescription(java.util.Locale pLocale)
IInterfaceSubComponent
pLocale
- the Locale
for which the description should be returnedpublic java.lang.String getGlobalId()
IRepositoryEntity
getGlobalId
in interface IRepositoryEntity
getGlobalId
in class oracle.odi.domain.support.AbstractRepositoryEntity
public java.lang.String getTechnicalDescription()
GenericClause
getTechnicalDescription
in class GenericClause
public Expression getSqlExpression()
GenericClause
getSqlExpression
in class GenericClause
GenericClause.setSqlExpression(Expression)
public java.lang.Number getSqlExpressionId()
GenericClause
getSqlExpressionId
in class GenericClause
public java.lang.String getBusinessRule()
GenericClause
getBusinessRule
in class GenericClause
GenericClause.setBusinessRule(String)
public OdiInterface.ExecutionLocation getExecutionLocation()
GenericClause
getExecutionLocation
in class GenericClause
GenericClause.setExecutionLocation(OdiInterface.ExecutionLocation)
public SourceSet getSourceSet()
GenericClause
getSourceSet
in class GenericClause
null
,
this clause is executed in the staging area.GenericClause.setSourceSet(SourceSet)
public java.lang.Number getClauseId()
GenericClause
getClauseId
in class GenericClause
public DataSet getDataSet()
GenericClause
getDataSet
in class GenericClause
GenericClause.setDataSet(oracle.odi.domain.project.interfaces.DataSet)
public int getClauseOrder()
GenericClause
getClauseOrder
in class GenericClause
GenericClause.setClauseOrder(int)
public java.lang.String getSql()
GenericClause
getSql
in class GenericClause
public OdiIndexType getIndexType1()
GenericClause
getIndexType1
in class GenericClause
GenericClause.setIndexType1(OdiIndexType)
public OdiIndexType getIndexType2()
GenericClause
getIndexType2
in class GenericClause
GenericClause.setIndexType2(OdiIndexType)
public void setSqlExpression(Expression pSqlExpression)
GenericClause
setSqlExpression
in class GenericClause
pSqlExpression
- The new SQL expression for this clause.GenericClause.getSqlExpression()
public void setBusinessRule(java.lang.String pBusinessRule)
GenericClause
setBusinessRule
in class GenericClause
pBusinessRule
- the new description of this clause.GenericClause.getBusinessRule()
public boolean isEnabled()
GenericClause
isEnabled
in class GenericClause
true
if the clause is active and enabled.GenericClause.setEnabled(boolean)
public void setEnabled(boolean pEnabled)
GenericClause
setEnabled
in class GenericClause
pEnabled
- true
to enable this clause,
false
to disable this clauseGenericClause.isEnabled()
public void setExecutionLocation(OdiInterface.ExecutionLocation pExecutionLocation)
GenericClause
setExecutionLocation
in class GenericClause
pExecutionLocation
- the new execution location of this clause.GenericClause.getExecutionLocation()
public void setSourceSet(SourceSet pSourceSet)
GenericClause
setSourceSet
in class GenericClause
pSourceSet
- the source set where this clause will be executed.
null
if this clause is to be executed in
the staging area.GenericClause.getSourceSet()
public void setClauseOrder(int pClauseOrder)
GenericClause
setClauseOrder
in class GenericClause
pClauseOrder
- the new clause order of the clauseGenericClause.getClauseOrder()
public void setIndexType1(OdiIndexType pIndexType1)
GenericClause
setIndexType1
in class GenericClause
pIndexType1
- The temporary index type used for the left side of
this clause.GenericClause.getIndexType1()
public void setIndexTypeCode1(java.lang.String pIndexTypeCode1)
GenericClause
setIndexTypeCode1
in class GenericClause
public void setIndexType2(OdiIndexType pIndexType2)
GenericClause
setIndexType2
in class GenericClause
pIndexType2
- The temporary index type used for the right side of
this clause.GenericClause.getIndexType2()
public void setIndexTypeCode2(java.lang.String pIndexTypeCode2)
GenericClause
setIndexTypeCode2
in class GenericClause