com.simba.dsi.dataengine.filters
Class DSIMetadataFilterFactory

java.lang.Object
  extended by com.simba.dsi.dataengine.filters.DSIMetadataFilterFactory

public class DSIMetadataFilterFactory
extends java.lang.Object


Constructor Summary
DSIMetadataFilterFactory(boolean performFiltering)
          Constructor.
DSIMetadataFilterFactory(boolean performFiltering, boolean makeCaseInsensitive)
          Constructor.
 
Method Summary
 void createFilters(MetadataSourceID metadataSourceId, java.util.List<java.lang.String> filterValues, java.lang.String escapeChar, java.lang.String identifierQuoteChar, boolean filterAsIdentifier, java.util.List<IFilter> out_filters, java.util.Map<MetadataSourceColumnTag,java.lang.String> out_restrictions)
          Creates the list of column filters and restrictions for the specified metadata source ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSIMetadataFilterFactory

public DSIMetadataFilterFactory(boolean performFiltering,
                                boolean makeCaseInsensitive)
Constructor.

Parameters:
performFiltering - Flag indicating if the SDK is performing filtering.
makeCaseInsensitive - Flag indicating if the metadata search should be case insensitive.

DSIMetadataFilterFactory

public DSIMetadataFilterFactory(boolean performFiltering)
Constructor.

Parameters:
performFiltering - Flag indicating if the SDK is performing filtering.
Method Detail

createFilters

public void createFilters(MetadataSourceID metadataSourceId,
                          java.util.List<java.lang.String> filterValues,
                          java.lang.String escapeChar,
                          java.lang.String identifierQuoteChar,
                          boolean filterAsIdentifier,
                          java.util.List<IFilter> out_filters,
                          java.util.Map<MetadataSourceColumnTag,java.lang.String> out_restrictions)
                   throws com.simba.support.exceptions.ErrorException
Creates the list of column filters and restrictions for the specified metadata source ID.

Parameters:
metadataSourceId - The type of metadata source to create filters for.
filterValues - The values to use for the filters.
escapeChar - Escape character used in filtering.
identifierQuoteChar - Character used as a quote around identifiers.
filterAsIdentifier - Indicates if String filters are treated as identifiers.
out_filters - The filters to use to filter the metadata source.
out_restrictions - The restrictions on the columns.
Throws:
com.simba.support.exceptions.ErrorException - If the metadata ID is invalid.


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.