net.floodlightcontroller.storage
Class OperatorPredicate

java.lang.Object
  extended by net.floodlightcontroller.storage.OperatorPredicate
All Implemented Interfaces:
IPredicate

public class OperatorPredicate
extends java.lang.Object
implements IPredicate

Predicate class to specify rows by equality or comparison operations of column values. The Storage API uses the special column name of "id" to specify the primary key values for the row.

Author:
rob

Nested Class Summary
static class OperatorPredicate.Operator
           
 
Constructor Summary
OperatorPredicate(java.lang.String columnName, OperatorPredicate.Operator operator, java.lang.Comparable<?> value)
           
 
Method Summary
 java.lang.String getColumnName()
           
 OperatorPredicate.Operator getOperator()
           
 java.lang.Comparable<?> getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorPredicate

public OperatorPredicate(java.lang.String columnName,
                         OperatorPredicate.Operator operator,
                         java.lang.Comparable<?> value)
Method Detail

getColumnName

public java.lang.String getColumnName()

getOperator

public OperatorPredicate.Operator getOperator()

getValue

public java.lang.Comparable<?> getValue()