org.knime.base.node.preproc.joiner
Class InputDataRow

java.lang.Object
  extended by org.knime.base.node.preproc.joiner.InputDataRow
All Implemented Interfaces:
Comparable<InputDataRow>

 class InputDataRow
extends Object
implements Comparable<InputDataRow>

This class is a container for a DataRow and an index. The index will be used to define an order on the InputDataRow.

Author:
Heiko Hofer

Nested Class Summary
(package private) static class InputDataRow.Settings
          Common settings for all InputDataRows.
(package private) static class InputDataRow.WildCardCell
          Used in the match any case.
 
Constructor Summary
InputDataRow(DataRow row, int index, InputDataRow.Settings.InDataPort port, InputDataRow.Settings settings)
           
 
Method Summary
 int compareTo(InputDataRow that)
          
(package private)  int getIndex()
           
(package private)  JoinTuple[] getJoinTuples()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InputDataRow

InputDataRow(DataRow row,
             int index,
             InputDataRow.Settings.InDataPort port,
             InputDataRow.Settings settings)
Parameters:
row - A DataRow
index - The index of row
port - The DataPort of the row, either Left or Right
settings - The settings common for all InputDataRow Objects.
Method Detail

getIndex

int getIndex()
Returns:
the index

getJoinTuples

JoinTuple[] getJoinTuples()
Returns:
the JoinTuples of this row.

compareTo

public int compareTo(InputDataRow that)

Specified by:
compareTo in interface Comparable<InputDataRow>

toString

public String toString()

Overrides:
toString in class Object


Copyright, 2003 - 2012. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.