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

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

public class JoinElement
extends Object

Placeholder for the records that must be joined

Author:
UoA

Constructor Summary
JoinElement(Vector<Long> pos, HashKey value, short collectionID)
          Creates a new JoinElement
 
Method Summary
 short getCollectionID()
          Retrieves the input id of the record
 Vector<Long> getRecordIndices()
          Retrieves the record indices of the stored records
 HashKey getValue()
          Retrieves the value of the 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(Vector<Long> pos,
                   HashKey value,
                   short collectionID)
Creates a new JoinElement

Parameters:
pos - The indices of the stored records
value - The vale of the key to use
collectionID - The id of the input this record comes from
Method Detail

getValue

public HashKey getValue()
Retrieves the value of the element

Returns:
The value

getRecordIndices

public Vector<Long> getRecordIndices()
Retrieves the record indices of the stored records

Returns:
The position

getCollectionID

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

Returns:
The input id

setCollectionID

public void setCollectionID(short collectionID)
Sets the input id

Parameters:
collectionID - The input id


Copyright © 2013. All Rights Reserved.