Class RecordsFileImpl
java.lang.Object
java.util.AbstractCollection<RecordsFile.Record>
java.util.AbstractList<RecordsFile.Record>
org.gvsig.fmap.dal.store.simplereader.virtualrows.RecordsFileImpl
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<RecordsFile.Record>,Collection<RecordsFile.Record>,List<RecordsFile.Record>,SequencedCollection<RecordsFile.Record>,RecordsFile,org.gvsig.tools.util.GetItem<RecordsFile.Record>,org.gvsig.tools.util.GetItem64<RecordsFile.Record>,org.gvsig.tools.util.Size,org.gvsig.tools.util.Size64
- Author:
- jjdelcerro
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from interface org.gvsig.fmap.dal.store.simplereader.virtualrows.RecordsFile
RecordsFile.Record, RecordsFile.RecordType, RecordsFile.RecordTypeBuilder -
Field Summary
Fields inherited from class java.util.AbstractList
modCountFields inherited from interface org.gvsig.fmap.dal.store.simplereader.virtualrows.RecordsFile
TYPE_BYTE, TYPE_BYTES, TYPE_DOUBLE, TYPE_INTEGER, TYPE_LONG, TYPE_SHORT, TYPE_STRING, TYPE_TIMESTAMP -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(RecordsFile.Record record) voidclose()voidcreate(File f, RecordsFile.RecordType recordType) voidcreate(RandomAccessFile raf, RecordsFile.RecordType recordType) get(int position) get64(long position) booleanisOpen()voidvoidopen(RandomAccessFile raf) set(int position, RecordsFile.Record record) intsize()longsize64()Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
RecordsFileImpl
public RecordsFileImpl() -
RecordsFileImpl
- Throws:
IOException
-
RecordsFileImpl
- Throws:
IOException
-
-
Method Details
-
getRecordType
- Specified by:
getRecordTypein interfaceRecordsFile
-
open
- Specified by:
openin interfaceRecordsFile- Throws:
IOException
-
open
- Specified by:
openin interfaceRecordsFile- Throws:
IOException
-
create
- Specified by:
createin interfaceRecordsFile- Throws:
IOException
-
create
- Specified by:
createin interfaceRecordsFile- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
isOpen
public boolean isOpen()- Specified by:
isOpenin interfaceRecordsFile
-
get
- Specified by:
getin interfaceorg.gvsig.tools.util.GetItem<RecordsFile.Record>- Specified by:
getin interfaceList<RecordsFile.Record>- Specified by:
getin classAbstractList<RecordsFile.Record>
-
get64
- Specified by:
get64in interfaceorg.gvsig.tools.util.GetItem64<RecordsFile.Record>
-
size
public int size()- Specified by:
sizein interfaceCollection<RecordsFile.Record>- Specified by:
sizein interfaceList<RecordsFile.Record>- Specified by:
sizein interfaceorg.gvsig.tools.util.Size- Specified by:
sizein classAbstractCollection<RecordsFile.Record>
-
size64
public long size64()- Specified by:
size64in interfaceorg.gvsig.tools.util.Size64
-
set
- Specified by:
setin interfaceList<RecordsFile.Record>- Overrides:
setin classAbstractList<RecordsFile.Record>
-
add
- Specified by:
addin interfaceCollection<RecordsFile.Record>- Specified by:
addin interfaceList<RecordsFile.Record>- Overrides:
addin classAbstractList<RecordsFile.Record>
-