gr.uoa.di.madgik.searchlibrary.operatorlibrary.indexfuse
Class JoinElement

java.lang.Object
  extended by gr.uoa.di.madgik.searchlibrary.operatorlibrary.indexfuse.JoinElement

public class JoinElement
extends Object

Placeholder for the records that must be joined

Author:
UoA

Constructor Summary
JoinElement(String id, double rank, short collectionID, short metaColID)
          Creates a new JoinElement
 
Method Summary
 short getCollectionID()
          Retrieves the collection id of the record
 FilePosition getFilePosition()
          Retrieves the file position this record is stored at
 String getId()
          Retrieves the id for this element
 short getMetaColID()
          Retrieves the metadata col id of the record
 double getRank()
          Retrieves the rank of this element
 void setCollectionID(short collectionID)
          Sets the input id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinElement

public JoinElement(String id,
                   double rank,
                   short collectionID,
                   short metaColID)
Creates a new JoinElement

Parameters:
id - The id of the object, this record refers to
rank - The rank of this record
collectionID - The sequence number of the collection this record comes from
metaColID - The sequence number of the metadata collection this record comes from(0 for content)
Method Detail

getId

public String getId()
Retrieves the id for this element

Returns:
The id

getRank

public double getRank()
Retrieves the rank of this element

Returns:
The rank

getFilePosition

public FilePosition getFilePosition()
Retrieves the file position this record is stored at

Returns:
The position

getCollectionID

public short getCollectionID()
Retrieves the collection id of the record

Returns:
The col id

getMetaColID

public short getMetaColID()
Retrieves the metadata col id of the record

Returns:
The metadata col id

setCollectionID

public void setCollectionID(short collectionID)
Sets the input id

Parameters:
collectionID - The input id


Copyright © 2013. All Rights Reserved.