railo.runtime.search
Class IndexResultImpl

java.lang.Object
  extended by railo.runtime.search.IndexResultImpl
All Implemented Interfaces:
IndexResult

public final class IndexResultImpl
extends Object
implements IndexResult


Field Summary
static IndexResult EMPTY
           
 
Constructor Summary
IndexResultImpl()
           
IndexResultImpl(int countDeleted, int countInserted, int countUpdated)
           
 
Method Summary
 int getCountDeleted()
           
 int getCountInserted()
           
 int getCountUpdated()
           
 void incCountDeleted()
           
 void incCountInserted()
           
 void incCountUpdated()
           
 void setCountDeleted(int countDeleted)
           
 void setCountInserted(int countInserted)
           
 void setCountUpdated(int countUpdated)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static IndexResult EMPTY
Constructor Detail

IndexResultImpl

public IndexResultImpl(int countDeleted,
                       int countInserted,
                       int countUpdated)

IndexResultImpl

public IndexResultImpl()
Method Detail

getCountDeleted

public int getCountDeleted()
Specified by:
getCountDeleted in interface IndexResult
Returns:
returns how many delets are done
See Also:
IndexResult.getCountDeleted()

getCountInserted

public int getCountInserted()
Specified by:
getCountInserted in interface IndexResult
Returns:
returns how many inserts are done
See Also:
IndexResult.getCountInserted()

getCountUpdated

public int getCountUpdated()
Specified by:
getCountUpdated in interface IndexResult
Returns:
returns how many updates are done
See Also:
IndexResult.getCountUpdated()

setCountDeleted

public void setCountDeleted(int countDeleted)
Parameters:
countDeleted - the countDeleted to set

setCountInserted

public void setCountInserted(int countInserted)
Parameters:
countInserted - the countInserted to set

setCountUpdated

public void setCountUpdated(int countUpdated)
Parameters:
countUpdated - the countUpdated to set

incCountDeleted

public void incCountDeleted()
Parameters:
countDeleted - the countDeleted to set

incCountInserted

public void incCountInserted()
Parameters:
countInserted - the countInserted to set

incCountUpdated

public void incCountUpdated()
Parameters:
countUpdated - the countUpdated to set


Copyright © 2012 Railo