org.egothor.repository
Interface Tuple

All Known Subinterfaces:
DataRepository.TupleSequence

public interface Tuple

This interface represents one repository/db tuple.

Author:
galambos

Method Summary
 int getInt(int column)
          Returns a column value as int.
 long getLong(int column)
          Returns a column value as long.
 java.lang.Object getObject(int column)
          Returns a column value as Object.
 

Method Detail

getObject

java.lang.Object getObject(int column)
Returns a column value as Object. If the column does not exist, null is returned instead.


getLong

long getLong(int column)
Returns a column value as long. If it cannot be represented as long, Long.MIN_VALUE is returned instead;


getInt

int getInt(int column)
Returns a column value as int. If it cannot be represented as int, Integer.MIN_VALUE is returned instead;