com.datasalt.pangool.io
Interface ITuple

All Known Implementing Classes:
Tuple, ViewTuple

public interface ITuple

This is the common interface implemented by tuples. A Tuple is basically an ordered list of objects whose types are defined by a Schema.

See Also:
Tuple

Method Summary
 void clear()
           
 Object get(int pos)
           
 Object get(String field)
           
 Boolean getBoolean(int pos)
           
 Boolean getBoolean(String field)
           
 Double getDouble(int pos)
           
 Double getDouble(String field)
           
 Float getFloat(int pos)
           
 Float getFloat(String field)
           
 Integer getInteger(int pos)
           
 Integer getInteger(String field)
           
 Long getLong(int pos)
           
 Long getLong(String field)
           
 Schema getSchema()
           
 String getString(int pos)
           
 String getString(String field)
           
 void set(int pos, Object object)
           
 void set(String field, Object object)
           
 

Method Detail

getSchema

Schema getSchema()

clear

void clear()

get

Object get(int pos)

get

Object get(String field)

getInteger

Integer getInteger(int pos)

getInteger

Integer getInteger(String field)

getLong

Long getLong(int pos)

getLong

Long getLong(String field)

getFloat

Float getFloat(int pos)

getFloat

Float getFloat(String field)

getDouble

Double getDouble(int pos)

getDouble

Double getDouble(String field)

getBoolean

Boolean getBoolean(int pos)

getBoolean

Boolean getBoolean(String field)

getString

String getString(int pos)

getString

String getString(String field)

set

void set(int pos,
         Object object)

set

void set(String field,
         Object object)


Copyright © –2014 Datasalt Systems S.L.. All rights reserved.