com.bigdata.sparse
Class SingleColumnFilter

java.lang.Object
  extended by com.bigdata.sparse.SingleColumnFilter
All Implemented Interfaces:
INameFilter, Serializable

public class SingleColumnFilter
extends Object
implements INameFilter

Filter for a specific column name.

Version:
$Id: SingleColumnFilter.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Constructor Summary
SingleColumnFilter(String name)
           
 
Method Summary
 boolean accept(String name)
          Return true to select values for the property with the given name.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingleColumnFilter

public SingleColumnFilter(String name)
Parameters:
name - The column name that you want.
Throws:
IllegalArgumentException - if name is null.
Method Detail

accept

public boolean accept(String name)
Description copied from interface: INameFilter
Return true to select values for the property with the given name.

Specified by:
accept in interface INameFilter
Parameters:
name - The property (aka column) name.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.