|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.searchlibrary.operatorlibrary.except.ExceptOp
public class ExceptOp
Operator class used to perform a set difference on its input and produces an output holding the produced results. The set produced contains all records in the left input whose key is not present in the records of the right input. No duplicate elimination is performed, therefore a caller wishing to obtain standard SQL EXCEPT semantics should perform duplicate elimination as a subsequent step.
| Constructor Summary | |
|---|---|
ExceptOp(URI leftLocator,
URI rightLocator,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
Creates a new ExceptOp with configurable timeout |
|
ExceptOp(URI leftLocator,
URI rightLocator,
StatsContainer stats)
Creates a new ExceptOp with the default timeout |
|
| Method Summary | |
|---|---|
URI |
compute(String leftKeyFieldName,
String rightKeyFieldName)
Performs the join operation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptOp(URI leftLocator,
URI rightLocator,
StatsContainer stats)
ExceptOp with the default timeout
leftLocator - The locator of the left inputrightLocator - The locator of the right inputstats - statistics
public ExceptOp(URI leftLocator,
URI rightLocator,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
ExceptOp with configurable timeout
leftLocator - The locator of the left inputrightLocator - The locator of the right inputtimeout - The timeout which will be used by the two IRecordReaders and the RecordWritertimeUnit - The unit of the timeoutstats - Statistics| Method Detail |
|---|
public URI compute(String leftKeyFieldName,
String rightKeyFieldName)
throws Exception
type - The type of resource to createleftKeyFieldName - The name of the Field of the join key originating from the left locatorrightKeyFieldName - The name of the Field of the join key origiating from the right locator
Exception - An unrecoverable for the operation error occured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||