|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vishnu.model.indexes.hashing.BucketRecordSet
public class BucketRecordSet
Constructor Summary | |
---|---|
BucketRecordSet(StaticHashIndex i)
|
Method Summary | |
---|---|
void |
delete(Record r)
Borra el registro r del recordSet. |
void |
drop()
Borra la coleccion de registros. |
int |
getCount()
La cantidad de registros que contiene. |
Record |
getRecord(int n)
|
boolean |
hasNext()
Indica si hay ams registros. |
boolean |
hasPrevious()
Indica si hay registros anteriores. |
void |
insert(Record r)
Inserta el registro r en el recordSet. |
void |
moveTo(int recordIndex)
Mueve el puntero de proximo registro a recordIndex. |
void |
moveToBucket(int bucket)
|
Record |
next()
Avanza el puntero al proximo registro y lo devuelve. |
Record |
nextFree()
|
void |
order()
Ordena el conjunto de registros por la columna definida a estos efectos en la tabla. |
void |
persist()
Persiste los datos del recordSet. |
Record |
previous()
Retrocede el puntero al registro anterior y lo devuelve. |
void |
reset()
Posiciona el RecordSet antes del primer registro. |
int |
totalBuckets()
|
void |
update(Record r)
Reemplaza los antiguos valores del registro por lo nuevos. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BucketRecordSet(StaticHashIndex i)
Method Detail |
---|
public Record getRecord(int n)
public void moveToBucket(int bucket)
public void moveTo(int recordIndex)
RecordSet
moveTo
in interface RecordSet
recordIndex
- - la nueva posicion del puntero a proximo registro.public boolean hasNext()
RecordSet
hasNext
in interface RecordSet
public Record next()
RecordSet
next
in interface RecordSet
public Record nextFree()
public int totalBuckets()
public void reset()
RecordSet
reset
in interface RecordSet
public int getCount()
RecordSet
getCount
in interface RecordSet
public void drop()
RecordSet
drop
in interface RecordSet
public Record previous()
RecordSet
previous
in interface RecordSet
public void insert(Record r)
RecordSet
insert
in interface RecordSet
r
- - el registro a insertar.public void update(Record r)
RecordSet
update
in interface RecordSet
r
- - el registro actualizado.public void persist()
RecordSet
persist
in interface RecordSet
public void order()
RecordSet
order
in interface RecordSet
public void delete(Record r)
RecordSet
delete
in interface RecordSet
r
- - el registro a borrar.public boolean hasPrevious()
RecordSet
hasPrevious
in interface RecordSet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |