All Packages Class Hierarchy This Package Previous Next Index
Class cube.database.Tuple
java.lang.Object
|
+----cube.database.Tuple
- public class Tuple
- extends Object
A Tuple is a binary relationship between a key column and a data column.
The key and data must be valid column types.
For more information on the cube see the cube
Overview.
Copyright © 1997 Curtis E. Dyreson. All rights reserved.
Please be aware of the
Licence
and
Version.
- See Also:
- Table
-
Tuple(byte[], byte[])
- Create a tuple with the given key/data values.
-
Tuple(Id)
- Create a tuple with the given key, data is null.
-
Tuple(Id, Id)
- Create a tuple with the given key/data values.
-
Tuple(Id, IdList)
- Create a tuple with the given key/data values.
-
Tuple(Id, IdSet)
- Create a tuple with the given key/data values.
-
Tuple(Id, StringCol)
- Create a tuple with the given key/data values.
-
Tuple(IdList)
- Create a tuple with the given key, data is null.
-
Tuple(IdList, IntegerCol)
- Create a tuple with the given key/data values.
-
Tuple(IdSet)
- Create a tuple with the given key, data is null.
-
Tuple(StringCol)
- Create a tuple with the given key, data is null.
-
Tuple(StringCol, Id)
- Create a tuple with the given key/data values.
-
getKeyAsBytes()
- Retrieve the key as a byte image.
-
getKeyAsId()
- Retrieve the key as an Id.
-
getKeyAsIdList()
- Retrieve the key as an IdList.
-
getKeyAsIdSet()
- Retrieve the key as an IdSet.
-
getKeyAsIntegerCol()
- Retrieve the key as an IntegerCol.
-
getKeyAsString()
- Retrieve the key as a String.
-
getKeyAsStringCol()
- Retrieve the key as a StringCol.
-
getValueAsBytes()
- Retrieve the value as a byte image.
-
getValueAsId()
- Retrieve the value as an Id.
-
getValueAsIdList()
- Retrieve the value as an IdList.
-
getValueAsIdSet()
- Retrieve the value as an IdSet.
-
getValueAsIntegerCol()
- Retrieve the value as an IntegerCol.
-
getValueAsString()
- Retrieve the value as a String.
-
getValueAsStringCol()
- Retrieve the value as an StringCol.
-
updateValue(byte[])
- Update the value field in a Tuple.
Tuple
public Tuple(byte key[],
byte value[])
- Create a tuple with the given key/data values.
Tuple
public Tuple(IdList key,
IntegerCol value)
- Create a tuple with the given key/data values.
Tuple
public Tuple(Id key,
Id value)
- Create a tuple with the given key/data values.
Tuple
public Tuple(Id key,
IdList value)
- Create a tuple with the given key/data values.
Tuple
public Tuple(StringCol key,
Id value)
- Create a tuple with the given key/data values.
Tuple
public Tuple(Id key,
StringCol value)
- Create a tuple with the given key/data values.
Tuple
public Tuple(Id key,
IdSet value)
- Create a tuple with the given key/data values.
Tuple
public Tuple(Id key)
- Create a tuple with the given key, data is null.
Tuple
public Tuple(StringCol key)
- Create a tuple with the given key, data is null.
Tuple
public Tuple(IdSet key)
- Create a tuple with the given key, data is null.
Tuple
public Tuple(IdList key)
- Create a tuple with the given key, data is null.
updateValue
public void updateValue(byte value[])
- Update the value field in a Tuple.
getKeyAsBytes
public byte[] getKeyAsBytes()
- Retrieve the key as a byte image.
getValueAsBytes
public byte[] getValueAsBytes()
- Retrieve the value as a byte image.
getKeyAsId
public Id getKeyAsId()
- Retrieve the key as an Id.
getKeyAsIntegerCol
public IntegerCol getKeyAsIntegerCol()
- Retrieve the key as an IntegerCol.
getKeyAsStringCol
public StringCol getKeyAsStringCol()
- Retrieve the key as a StringCol.
getKeyAsString
public String getKeyAsString()
- Retrieve the key as a String.
getKeyAsIdList
public IdList getKeyAsIdList()
- Retrieve the key as an IdList.
getKeyAsIdSet
public IdSet getKeyAsIdSet()
- Retrieve the key as an IdSet.
getValueAsId
public Id getValueAsId()
- Retrieve the value as an Id.
getValueAsIntegerCol
public IntegerCol getValueAsIntegerCol()
- Retrieve the value as an IntegerCol.
getValueAsStringCol
public StringCol getValueAsStringCol()
- Retrieve the value as an StringCol.
getValueAsString
public String getValueAsString()
- Retrieve the value as a String.
getValueAsIdSet
public IdSet getValueAsIdSet()
- Retrieve the value as an IdSet.
getValueAsIdList
public IdList getValueAsIdList()
- Retrieve the value as an IdList.
All Packages Class Hierarchy This Package Previous Next Index