Top Description Fields Constructors Methods
org.apache.derby.iapi.sql.compile

public Class ScopeFilter

extends Object
implements VisitableFilter
Class Inheritance
All Implemented Interfaces
org.apache.derby.iapi.sql.compile.VisitableFilter
Imports
java.util.List, org.apache.derby.shared.common.error.StandardException

Filter which passes Visitables only if the compiler is inside a named scope.

Field Summary

Modifier and TypeField and Description
private CompilerContext
private int
private String

Constructor Summary

AccessConstructor and Description
public
ScopeFilter(CompilerContext compilerContext, String scopeName, int minDepth)

Construct a filter for the given scope and minimal expected depth.

Method Summary

Modifier and TypeMethod and Description
public boolean
accept(Visitable visitable)

Implements org.apache.derby.iapi.sql.compile.VisitableFilter.accept.

Return true if the Visitable passes the filter.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_compilerContextback to summary
private CompilerContext _compilerContext
_minDepthback to summary
private int _minDepth
_scopeNameback to summary
private String _scopeName

Constructor Detail

ScopeFilterback to summary
public ScopeFilter(CompilerContext compilerContext, String scopeName, int minDepth)

Construct a filter for the given scope and minimal expected depth.

Method Detail

acceptback to summary
public boolean accept(Visitable visitable) throws StandardException

Implements org.apache.derby.iapi.sql.compile.VisitableFilter.accept.

Doc from org.apache.derby.iapi.sql.compile.VisitableFilter.accept.

Return true if the Visitable passes the filter.