Package org.dizitart.no2.common
Class Lookup
- java.lang.Object
-
- org.dizitart.no2.common.Lookup
-
public class Lookup extends Object
Represents lookup parameters in join operation of two collections.- Since:
- 2.1.0
- Author:
- Anindya Chatterjee.
- See Also:
DocumentCursor.join(DocumentCursor, Lookup),Cursor.join(Cursor, Lookup, Class)
-
-
Constructor Summary
Constructors Constructor Description Lookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetForeignField()Specifies the field from the foreign records.StringgetLocalField()Specifies the field from the records input to the join.StringgetTargetField()Specifies the new field of the joined records.inthashCode()voidsetForeignField(String foreignField)Specifies the field from the foreign records.voidsetLocalField(String localField)Specifies the field from the records input to the join.voidsetTargetField(String targetField)Specifies the new field of the joined records.
-
-
-
Method Detail
-
getLocalField
public String getLocalField()
Specifies the field from the records input to the join.- Returns:
- field of the input record.
-
setLocalField
public void setLocalField(String localField)
Specifies the field from the records input to the join.- Parameters:
localField- field of the input record.
-
getForeignField
public String getForeignField()
Specifies the field from the foreign records.- Returns:
- field of the foreign record.
-
setForeignField
public void setForeignField(String foreignField)
Specifies the field from the foreign records.- Parameters:
foreignField- field of the foreign record.
-
getTargetField
public String getTargetField()
Specifies the new field of the joined records.- Returns:
- field of the joined record.
-
setTargetField
public void setTargetField(String targetField)
Specifies the new field of the joined records.- Parameters:
targetField- field of the joined record.
-
-