public interface IloTupleBuffer extends IloTuple
IloTupleBuffer allows you to create a new tuple using
the values of its different fields. This tuple by value can be used to populate
a set of tuples, to update an array, or to make an index search. A tuple by
value is a list of where path is the column path| Modifier and Type | Method and Description |
|---|---|
int |
commit()
Commits the values in the
IloTupleSet; that is, adds a new line if the
index of the buffer is -1, or sets a line with this content. |
void |
setAnyCollectionValue(int columnIndex,
ilog.concert.IloAnyCollection value)
Sets the string-collection column
columnIndex of the IloTupleSet set with
value. |
void |
setAnyCollectionValue(java.lang.String col,
ilog.concert.IloAnyCollection value)
Sets the string collection column
col of the IloTupleSet
with value. |
void |
setIntCollectionValue(int columnIndex,
ilog.concert.IloIntCollection value)
Sets the integer collection column
columnIndex of the IloTupleSet with
value. |
void |
setIntCollectionValue(java.lang.String col,
ilog.concert.IloIntCollection value)
Sets the integer collection column
col of the IloTupleSet
with value. |
void |
setIntMapValue(int columnIndex,
IloIntMap value)
Sets the integer array column
columnIndex of the IloTupleSet
with value. |
void |
setIntMapValue(java.lang.String col,
IloIntMap value)
Sets the integer array column
col of the IloTupleSet
with value. |
void |
setIntValue(int columnIndex,
int value)
Provides an integer value for the column index of the
IloTupleSet. |
void |
setIntValue(java.lang.String col,
int value)
Sets the integer column
col of the IloTupleSet with value. |
void |
setNumCollectionValue(int columnIndex,
ilog.concert.IloNumCollection value)
Sets the float-collection column
columnIndex of the IloTupleSet set with
value. |
void |
setNumCollectionValue(java.lang.String col,
ilog.concert.IloNumCollection value)
Sets the float collection column
col of the IloTupleSet
with value. |
void |
setNumMapValue(int columnIndex,
IloNumMap value)
Sets the float array column
columnIndex of the IloTupleSet with
value. |
void |
setNumMapValue(java.lang.String col,
IloNumMap value)
Sets the float array column
col of the IloTupleSet with
value. |
void |
setNumValue(int columnIndex,
double value)
Provides a floating-point value for the column index of the
IloTupleSet. |
void |
setNumValue(java.lang.String col,
double value)
Sets the float column
col of the IloTupleSet with value. |
void |
setSymbolValue(int columnIndex,
java.lang.String value)
Sets the string column
columnIndex of the IloTupleSet with value. |
void |
setSymbolValue(java.lang.String col,
java.lang.String value)
Sets the string column
col of the IloTupleSet with value. |
void |
setTupleValue(int columnIndex,
IloTuple value)
Sets the sub-tuple
columnIndex of the IloTupleSet with value. |
void |
setTupleValue(java.lang.String col,
IloTuple value)
Sets the sub-tuple
col of the IloTupleSet with value. |
getAnyCollectionValue, getAnyCollectionValue, getIndex, getIntCollectionValue, getIntCollectionValue, getIntMapValue, getIntMapValue, getIntSetValue, getIntSetValue, getIntValue, getIntValue, getNumCollectionValue, getNumCollectionValue, getNumMapValue, getNumMapValue, getNumSetValue, getNumSetValue, getNumValue, getNumValue, getSchema, getStringValue, getStringValue, getSymbolSetValue, getSymbolSetValue, makeTupleValue, makeTupleValue, setIndexvoid setIntValue(int columnIndex,
int value)
IloTupleSet.void setNumValue(int columnIndex,
double value)
IloTupleSet.void setSymbolValue(int columnIndex,
java.lang.String value)
columnIndex of the IloTupleSet with value.void setTupleValue(int columnIndex,
IloTuple value)
columnIndex of the IloTupleSet with value.void setIntCollectionValue(int columnIndex,
ilog.concert.IloIntCollection value)
columnIndex of the IloTupleSet with
value. The IloTupleSet becomes the owner of the collection.void setNumCollectionValue(int columnIndex,
ilog.concert.IloNumCollection value)
columnIndex of the IloTupleSet set with
value. The IloTupleSet becomes the owner of the collection.void setAnyCollectionValue(int columnIndex,
ilog.concert.IloAnyCollection value)
columnIndex of the IloTupleSet set with
value. The IloTupleSet becomes the owner of the collection.void setIntMapValue(int columnIndex,
IloIntMap value)
columnIndex of the IloTupleSet
with value. The IloTupleSet becomes the owner of the collection.void setNumMapValue(int columnIndex,
IloNumMap value)
columnIndex of the IloTupleSet with
value. The IloTupleSet becomes the owner of the collection.void setIntValue(java.lang.String col,
int value)
col of the IloTupleSet with value.void setNumValue(java.lang.String col,
double value)
col of the IloTupleSet with value.void setSymbolValue(java.lang.String col,
java.lang.String value)
col of the IloTupleSet with value.void setTupleValue(java.lang.String col,
IloTuple value)
col of the IloTupleSet with value.void setIntCollectionValue(java.lang.String col,
ilog.concert.IloIntCollection value)
col of the IloTupleSet
with value. The IloTupleSet becomes the owner of the collection.void setNumCollectionValue(java.lang.String col,
ilog.concert.IloNumCollection value)
col of the IloTupleSet
with value. The IloTupleSet becomes the owner of the collection.void setAnyCollectionValue(java.lang.String col,
ilog.concert.IloAnyCollection value)
col of the IloTupleSet
with value. The IloTupleSet becomes the owner of the collection.void setIntMapValue(java.lang.String col,
IloIntMap value)
col of the IloTupleSet
with value. The IloTupleSet becomes the owner of the collection.void setNumMapValue(java.lang.String col,
IloNumMap value)
col of the IloTupleSet with
value. The IloTupleSet becomes the owner of the collection.int commit()
IloTupleSet; that is, adds a new line if the
index of the buffer is -1, or sets a line with this content. If you commit a new tuple,
the index of the invoking tuple buffer is set to the value of the index of the created
tuple in the tuple set. If you want to commit a new tuple again using the same instance
of IloTupleBuffer you need to set its index back to -1, using the method
IloTuple.setIndex.