Serialized Form


Package it.unimi.dsi.mg4j.compression

Class it.unimi.dsi.mg4j.compression.CanonicalFast64CodeWordDecoder extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

lastCodeWordPlusOne

long[] lastCodeWordPlusOne
Deprecated. 
The last codeword in each block of same-length codewords, plus one.


lengthIncrement

int[] lengthIncrement
Deprecated. 
An array parallel to CanonicalFast64CodeWordDecoder.lastCodeWordPlusOne specifying the increment in length between codeword lengths (without repetitions). In particular, the first entry is the length of the first block of same-length codewords, the second entry is the difference in length between the second and the first block of same-length codewords, and so on.


howManyUpToBlock

int[] howManyUpToBlock
Deprecated. 
An array parallel to CanonicalFast64CodeWordDecoder.lastCodeWordPlusOne specifying how many codewords we have up to a certain block (included).


symbol

int[] symbol
Deprecated. 
The symbol assigned to each code word.

Class it.unimi.dsi.mg4j.compression.CodeWordCoder extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

codeWord

BitVector[] codeWord
Deprecated. 
The array of codewords of this coder.

Class it.unimi.dsi.mg4j.compression.Fast64CodeWordCoder extends CodeWordCoder implements Serializable

serialVersionUID: 1L

Serialized Fields

longCodeWord

long[] longCodeWord
Deprecated. 
An array parallel to CodeWordCoder.codeWord containing the codewords as longs (right aligned).


length

int[] length
Deprecated. 
A cached array, parallel to Fast64CodeWordCoder.longCodeWord, of codewords length.

Class it.unimi.dsi.mg4j.compression.HuffmanCodec extends Object implements Serializable

serialVersionUID: 2L

Serialized Fields

size

int size
Deprecated. 
The number of symbols of this coder.


codeWord

BitVector[] codeWord
Deprecated. 
The codewords for this coder.


coder

Fast64CodeWordCoder coder
Deprecated. 
A cached singleton instance of the coder of this codec.


decoder

CanonicalFast64CodeWordDecoder decoder
Deprecated. 
A cached singleton instance of the decoder of this codec.

Class it.unimi.dsi.mg4j.compression.HuTuckerCodec extends Object implements Serializable

serialVersionUID: 2L

Serialized Fields

size

int size
Deprecated. 
The number of symbols of this coder.


root

TreeDecoder.Node root
Deprecated. 
The root of the decoding tree.


coder

CodeWordCoder coder
Deprecated. 
A cached singleton instance of the coder of this codec.


decoder

TreeDecoder decoder
Deprecated. 
A cached singleton instance of the decoder of this codec.

Class it.unimi.dsi.mg4j.compression.TreeDecoder extends Object implements Serializable

serialVersionUID: 2L

Serialized Fields

root

TreeDecoder.Node root
Deprecated. 
The root of the decoding tree.


n

int n
Deprecated. 
The number of symbolds in this decoder.

Class it.unimi.dsi.mg4j.compression.TreeDecoder.LeafNode extends TreeDecoder.Node implements Serializable

serialVersionUID: 1L

Serialized Fields

symbol

int symbol

Class it.unimi.dsi.mg4j.compression.TreeDecoder.Node extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

left

TreeDecoder.Node left

right

TreeDecoder.Node right

Package it.unimi.dsi.mg4j.document

Class it.unimi.dsi.mg4j.document.AbstractDocumentFactory extends Object implements Serializable

serialVersionUID: 1L

Class it.unimi.dsi.mg4j.document.CompositeDocumentFactory extends AbstractDocumentFactory implements Serializable

serialVersionUID: 1L

Serialized Fields

documentFactory

DocumentFactory[] documentFactory
The array of document factories composing this composite document factory.


numberOfFields

int numberOfFields
The overall number of fields (i.e., the sum of DocumentFactory.numberOfFields() over CompositeDocumentFactory.documentFactory.


fieldName

String[] fieldName
The name of all fields in sequence.


fieldType

DocumentFactory.FieldType[] fieldType
The type of all fields in sequence.


field2Index

Object2IntOpenHashMap<K> field2Index
The map from field names to field indices.


factoryIndex

int[] factoryIndex
The factory of each field.


originalFieldIndex

int[] originalFieldIndex
The index of each field in its own factory.

Class it.unimi.dsi.mg4j.document.CSVDocumentCollection extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

fileName

String fileName
The CSV filename.


separator

String separator
The field separator.


column

String[] column
The column names.


titleColumn

int titleColumn
If nonnegative, the index of the colulmn to be used as a title.


factory

DocumentFactory factory
The factory to be used by this collection.

Class it.unimi.dsi.mg4j.document.DispatchingDocumentFactory extends PropertyBasedDocumentFactory implements Serializable

serialVersionUID: 1L

Serialized Fields

n

int n
The number of subfactories used.


documentFactory

DocumentFactory[] documentFactory
The subfactories used.


numberOfFields

int numberOfFields
The number of fields of this factory.


fieldName

String[] fieldName
The names of the fields.


fieldType

DocumentFactory.FieldType[] fieldType
The types of the fields.


rename

int[][] rename
The array specifying how subfactory fields should be mapped into fields of this factory. More precisely, rename[f][k] specifies which field of factory documentFactory[f] should be used to return the field named fieldName[k]: it is assumed that the type of the field in the subfactory is correct (i.e., that documentFactory[f].fieldType(k)==fieldType[k]). The value -1 is used to return an empty textual field (i.e., a word reader on an empty string).


strategy

DispatchingDocumentFactory.DispatchingStrategy strategy
The strategy to be used.


dispatchingKey

Enum<E extends Enum<E>> dispatchingKey
If a DispatchingDocumentFactory.StringBasedDispatchingStrategy should be used, this field represents the property key to be checked. Otherwise, this is null.


value2factoryClass

Object2ObjectLinkedOpenHashMap<K,V> value2factoryClass
If a DispatchingDocumentFactory.StringBasedDispatchingStrategy should be used, this field represents the map from values to factories.


nullReader

WordReader nullReader
A word reader that is returned when a null field should be returned.

Class it.unimi.dsi.mg4j.document.DispatchingDocumentFactory.StringBasedDispatchingStrategy extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

key

Enum<E extends Enum<E>> key
The key to be resolved.


value

Object2IntMap<K> value
The values that should be used for comparisons.

Class it.unimi.dsi.mg4j.document.FileSetDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: 0L

Serialized Fields

file

String[] file
The files in this collection.


uri

String[] uri
URIs for each file in this collection, or null, in which case the filename will be used as URI.


factory

DocumentFactory factory
The factory to be used by this collection.


last

InputStream last
The last returned file input stream.

Class it.unimi.dsi.mg4j.document.HtmlDocumentFactory extends PropertyBasedDocumentFactory implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

maxPreAnchor

int maxPreAnchor
The maximum number of characters before an anchor.


maxAnchor

int maxAnchor
The maximum number of characters in an anchor.


maxPostAnchor

int maxPostAnchor
The maximum number of characters after an anchor.

Class it.unimi.dsi.mg4j.document.IdentityDocumentFactory extends PropertyBasedDocumentFactory implements Serializable

serialVersionUID: 2L

Serialized Fields

fieldName

String fieldName
The name of the only field.


wordReader

WordReader wordReader
The word reader used for all documents.

Class it.unimi.dsi.mg4j.document.JavamailDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: 2L

Serialization Methods

readResolve

private Object readResolve()
                    throws javax.mail.MessagingException,
                           IOException
Throws:
javax.mail.MessagingException
IOException
Serialized Fields

numberOfMessages

int numberOfMessages
The number of messages.


factory

it.unimi.dsi.mg4j.document.JavamailDocumentCollection.JavamailDocumentFactory factory
The factory to be used by this collection.


storeUrl

String storeUrl
The URL for the store.


folderName

String folderName
The folder name.

Class it.unimi.dsi.mg4j.document.JdbcDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

id2doc

Int2IntMap id2doc
The map from database identifiers to documents.


doc2id

int[] doc2id
The map (as an array) from documents to database identifiers.


dbUri

String dbUri
The URI pointing at the database.


jdbcDriverName

String jdbcDriverName
Optionally, the driver name.


factory

DocumentFactory factory
The factory to be used by this collection.


select

String select
The query generating the collection (without the SELECT keyword).


idSpec

String idSpec
The spec for the id field; by default it is id, but in complex query it could be ambiguous.


where

String where
The WHERE part of the query generating the collection (without the WHERE keyword), or null.

Class it.unimi.dsi.mg4j.document.PdfDocumentFactory extends PropertyBasedDocumentFactory implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

wordReader

WordReader wordReader
The word reader used for all documents.

Class it.unimi.dsi.mg4j.document.PropertyBasedDocumentFactory extends AbstractDocumentFactory implements Serializable

serialVersionUID: 1L

Serialized Fields

defaultMetadata

Reference2ObjectMap<K,V> defaultMetadata
The set of default metadata for this factory. It is initalised by PropertyBasedDocumentFactory.parseProperties(Properties).

This field must be massaged after serialisation, as its keys must be interned.

Class it.unimi.dsi.mg4j.document.ReplicatedDocumentFactory extends AbstractDocumentFactory implements Serializable

serialVersionUID: 2L

Serialized Fields

documentFactory

DocumentFactory documentFactory
The document factory that will be replicated.


numberOfCopies

int numberOfCopies
The number of copies.


field2Index

Object2IntOpenHashMap<K> field2Index
The map from field names to field indices.


fieldName

String[] fieldName
The field names.

Class it.unimi.dsi.mg4j.document.TRECDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: -4251461013312968454L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Throws:
IOException
Serialized Fields

file

String[] file
The list of the files containing the documents.


useGzip

boolean useGzip
Whether the files in TRECDocumentCollection.file are gzipped.


factory

DocumentFactory factory
The document factory.


bufferSize

int bufferSize
The buffer size.


lastStream

SegmentedInputStream lastStream
The last returned stream.


buffer

byte[] buffer

Class it.unimi.dsi.mg4j.document.TRECHeaderDocumentFactory extends AbstractDocumentFactory implements Serializable

serialVersionUID: -8671564750345493607L

Serialized Fields

buffer

byte[] buffer

Class it.unimi.dsi.mg4j.document.WikipediaDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

file

String[] file
The files in this collection.


gzipped

boolean gzipped
The files in WikipediaDocumentCollection.file are gzip'd.


factory

DocumentFactory factory
The factory to be used by this collection.


pointers

ObjectArrayList<K> pointers
A list of lists of pointers parallel to WikipediaDocumentCollection.file. Each list contains the starting pointer of each document (within its file), plus a final pointer at the end of the file.


size

int size
The number of documents in this collection.


phrase

boolean phrase
Whether this index contains phrases (as opposed to documents).


firstDocument

int[] firstDocument
An array parallel to WikipediaDocumentCollection.file containing the index of the first document within each file, plus a final entry equal to WikipediaDocumentCollection.size.

Class it.unimi.dsi.mg4j.document.WikipediaDocumentCollection.WhitespaceWordReader extends FastBufferedReader implements Serializable

serialVersionUID: 1L

Class it.unimi.dsi.mg4j.document.ZipDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: 1L

Serialization Methods

readResolve

private Object readResolve()
                    throws IOException
Throws:
IOException
Serialized Fields

zipFilename

String zipFilename
The name of the zip collection file.


underlyingFactory

DocumentFactory underlyingFactory
The factory used for the original document sequence.


numberOfDocuments

int numberOfDocuments
The number of documents.


exact

boolean exact
true iff this is an exact reproduction of the original sequence (i.e., if also non-words are preserved).

Class it.unimi.dsi.mg4j.document.ZipDocumentCollection.ZipFactory extends AbstractDocumentFactory implements Serializable

serialVersionUID: 1L

Serialized Fields

exact

boolean exact

underlyingFactory

DocumentFactory underlyingFactory

Package it.unimi.dsi.mg4j.index

Class it.unimi.dsi.mg4j.index.BitStreamHPIndex extends BitStreamIndex implements Serializable

serialVersionUID: 0L

Class it.unimi.dsi.mg4j.index.BitStreamIndex extends Index implements Serializable

serialVersionUID: 0L

Serialized Fields

frequencyCoding

CompressionFlags.Coding frequencyCoding
The coding for frequencies. See CompressionFlags.


pointerCoding

CompressionFlags.Coding pointerCoding
The coding for pointers. See CompressionFlags.


countCoding

CompressionFlags.Coding countCoding
The coding for counts. See CompressionFlags.


positionCoding

CompressionFlags.Coding positionCoding
The coding for positions. See CompressionFlags.


offsets

LongList offsets
The offset of each term, if offsets were loaded or specified at creation time, or null.


termMap

StringMap<S extends CharSequence> termMap
The term map for this index, or null if the term map was not loaded.


prefixMap

PrefixMap<S extends CharSequence> prefixMap
The prefix map for this index, or null if the prefix map was not loaded.


height

int height
The parameter h (the maximum height of a skip tower), or -1 if this index has no skips.


quantum

int quantum
The quantum, or -1 if this index has no skips.


bufferSize

int bufferSize
The size of the buffer used to read the bit stream.


readerConstructor

Constructor<T> readerConstructor
The constructor that will be used to create new index readers.

Class it.unimi.dsi.mg4j.index.DowncaseTermProcessor extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readResolve

private Object readResolve()

Class it.unimi.dsi.mg4j.index.FileHPIndex extends BitStreamHPIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

basename

String basename
The basename of this index. All file names will be stemmed from the basename. It may be null.


indexFile

File indexFile
The file containing the index. It may be null.


positionsFile

File positionsFile
The file containing the positions. It may be null. // TODO: Why ?

Class it.unimi.dsi.mg4j.index.FileIndex extends BitStreamIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

basename

String basename
The basename of this index. All file names will be stemmed from the basename. It may be null.


indexFile

File indexFile
The file containing the index. It may be null.

Class it.unimi.dsi.mg4j.index.Index extends Object implements Serializable

serialVersionUID: 0L

Serialized Fields

field

String field
The field indexed by this index, or null.


properties

Properties properties
The properties of this index. It is stored here for convenience (for instance, if custom keys are added to the property file), but it may be null.


numberOfDocuments

int numberOfDocuments
The number of documents of the collection.


numberOfTerms

int numberOfTerms
The number of terms of the collection. This field might be set to -1 in some cases (for instance, in certain documental clusters).


numberOfOccurrences

long numberOfOccurrences
The number of occurrences of the collection.


numberOfPostings

long numberOfPostings
The number of postings (pairs term/document) of the collection.


maxCount

int maxCount
The maximum number of positions in an position list, or -1 if it is unknown.


payload

Payload payload
The payload for this index, or null.


hasPayloads

boolean hasPayloads
Whether this index contains payloads; if true, Index.payload is non-null.


hasCounts

boolean hasCounts
Whether this index contains counts.


hasPositions

boolean hasPositions
Whether this index contains positions.


termProcessor

TermProcessor termProcessor
The term processor used to build this index.


singletonSet

ReferenceSet<K> singletonSet
An immutable singleton set containing just Index.keyIndex.


keyIndex

Index keyIndex
The index used as a key to retrieve intervals. Usually equal to this, but it is settable.


sizes

IntList sizes
The size of each document, or null if sizes are not necessary or not loaded in this index.


emptyIndexIterator

Index.EmptyIndexIterator emptyIndexIterator
A singleton for an iterator returning no documents based on this index.

Class it.unimi.dsi.mg4j.index.Index.EmptyIndexIterator extends IntIterators.EmptyIterator implements Serializable

serialVersionUID: 0L

Class it.unimi.dsi.mg4j.index.InMemoryHPIndex extends BitStreamHPIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

index

byte[] index
The byte array containing the index.


positions

byte[] positions
The byte array containing the positions.

Class it.unimi.dsi.mg4j.index.InMemoryIndex extends BitStreamIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

index

byte[] index
The byte array containing the index.

Class it.unimi.dsi.mg4j.index.MemoryMappedHPIndex extends BitStreamHPIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

index

ByteBuffer index
The byte buffer containing the index.


positions

ByteBuffer positions
The byte buffer containing the positions.

Class it.unimi.dsi.mg4j.index.MemoryMappedIndex extends BitStreamIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

index

ByteBuffer index
The byte buffer containing the index.

Class it.unimi.dsi.mg4j.index.NullTermProcessor extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readResolve

private Object readResolve()

Class it.unimi.dsi.mg4j.index.TermMaps.SynchronizedPrefixMap extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

prefixMap

PrefixMap prefixMap

Class it.unimi.dsi.mg4j.index.TermMaps.SynchronizedTermMap extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

termMap

TermMap termMap

Class it.unimi.dsi.mg4j.index.TermMaps.SynchronizedTermPrefixMap extends TermMaps.SynchronizedTermMap implements Serializable

serialVersionUID: 1L

Serialized Fields

prefixMap

PrefixMap prefixMap

Class it.unimi.dsi.mg4j.index.TooManyTermsException extends Exception implements Serializable

serialVersionUID: 0L

Serialized Fields

numberOfTerms

int numberOfTerms

Package it.unimi.dsi.mg4j.index.cluster

Class it.unimi.dsi.mg4j.index.cluster.ChainedLexicalClusteringStrategy extends Object implements Serializable

serialVersionUID: 0L

Class it.unimi.dsi.mg4j.index.cluster.ContiguousDocumentalStrategy extends Object implements Serializable

serialVersionUID: 0L

Serialized Fields

cutPoint

int[] cutPoint
The cutpoints.


k

int k
The (cached) number of segments.

Class it.unimi.dsi.mg4j.index.cluster.ContiguousLexicalStrategy extends Object implements Serializable

serialVersionUID: 0L

Serialized Fields

cutPoint

int[] cutPoint
The cutpoints.


cutPointTerm

MutableString[] cutPointTerm
The cutpoint terms.


k

int k
The (cached) number of segments.

Class it.unimi.dsi.mg4j.index.cluster.DocumentalCluster extends IndexCluster implements Serializable

serialVersionUID: 1L

Serialized Fields

concatenated

boolean concatenated
Whether this documental cluster is concatenated.


flat

boolean flat
Whether this documental cluster is flat; in this case, all local indices have the same term list.


allIndices

int[] allIndices
An Array containing the numbers from 0 to the number of local indices (excluded). Used to implement IndexReader.documents(int) more efficiently in flat indices.


strategy

DocumentalClusteringStrategy strategy
The clustering strategy.

Class it.unimi.dsi.mg4j.index.cluster.DocumentalConcatenatedCluster extends DocumentalCluster implements Serializable

serialVersionUID: 1L

Class it.unimi.dsi.mg4j.index.cluster.DocumentalMergedCluster extends DocumentalCluster implements Serializable

serialVersionUID: 1L

Class it.unimi.dsi.mg4j.index.cluster.IdentityDocumentalStrategy extends Object implements Serializable

serialVersionUID: 0L

Serialized Fields

numberOfLocalIndices

int numberOfLocalIndices
The number of local indices.


numberOfDocuments

int numberOfDocuments
The number of documents.

Class it.unimi.dsi.mg4j.index.cluster.IndexCluster extends Index implements Serializable

Serialized Fields

localIndex

Index[] localIndex
The local indices of this cluster.


termFilter

BloomFilter[] termFilter
An array of Bloom filter to reduce index access, or null.

Class it.unimi.dsi.mg4j.index.cluster.LexicalCluster extends IndexCluster implements Serializable

serialVersionUID: 1L

Serialized Fields

strategy

LexicalClusteringStrategy strategy
The strategy to be used.


partitioningStrategy

LexicalPartitioningStrategy partitioningStrategy
The strategy, cast to a partition strategy, or null.


Package it.unimi.dsi.mg4j.index.payload

Class it.unimi.dsi.mg4j.index.payload.AbstractPayload extends Object implements Serializable

Class it.unimi.dsi.mg4j.index.payload.DatePayload extends AbstractPayload implements Serializable

serialVersionUID: 1L

Serialized Fields

secondsFromEpoch

long secondsFromEpoch

Class it.unimi.dsi.mg4j.index.payload.IntegerPayload extends AbstractPayload implements Serializable

serialVersionUID: 1L

Serialized Fields

unset

boolean unset
Whether this payload has been ever set.


value

long value
The current value of this payload, if IntegerPayload.unset is false.


Package it.unimi.dsi.mg4j.index.remote

Class it.unimi.dsi.mg4j.index.remote.RemoteBitStreamIndex extends BitStreamIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

address

SocketAddress address
The address of the socket associated to this index.

Class it.unimi.dsi.mg4j.index.remote.RemoteIndex extends Index implements Serializable

serialVersionUID: 0L

Serialized Fields

socketAddress

SocketAddress socketAddress
The socket exporting the index.

Class it.unimi.dsi.mg4j.index.remote.RemoteOffsetList extends AbstractLongList implements Serializable

serialVersionUID: 2L

Serialized Fields

address

SocketAddress address
The address of the socket assigned to the server thread.


size

int size
The size of the list, cached locally.

Class it.unimi.dsi.mg4j.index.remote.RemotePrefixMap extends RemoteTermMap implements Serializable

serialVersionUID: 1L

Serialized Fields

hasPrefixes

boolean hasPrefixes
Whether the remote map implements PrefixMap.prefixMap().


prefixMap

AbstractObject2ObjectFunction<K,V> prefixMap

rangeMap

Object2ObjectFunction<K,V> rangeMap

Class it.unimi.dsi.mg4j.index.remote.RemoteSizeList extends AbstractIntList implements Serializable

serialVersionUID: 2L

Serialized Fields

address

SocketAddress address
The address of the socket assigned to the server thread.


size

int size
The size of the list, cached locally.

Class it.unimi.dsi.mg4j.index.remote.RemoteTermMap extends AbstractObject2LongFunction<CharSequence> implements Serializable

serialVersionUID: 1L

Serialized Fields

address

SocketAddress address
The address of the index server.


size

int size
The size of the map.


list

ObjectList<K> list
The cached return value of StringMap.list().


hasTerms

boolean hasTerms
Whether the remote map implements StringMap.list().


Package it.unimi.dsi.mg4j.index.snowball

Class it.unimi.dsi.mg4j.index.snowball.AbstractSnowballTermProcessor extends Object implements Serializable

Serialized Fields

current

MutableString current

copy

MutableString copy

array

char[] array

cursor

int cursor

limit

int limit

limit_backward

int limit_backward

bra

int bra

ket

int ket

Class it.unimi.dsi.mg4j.index.snowball.DanishStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_x

int I_x

I_p1

int I_p1

S_ch

MutableString S_ch

Class it.unimi.dsi.mg4j.index.snowball.DutchStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_p2

int I_p2

I_p1

int I_p1

B_e_found

boolean B_e_found

Class it.unimi.dsi.mg4j.index.snowball.EnglishStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

B_Y_found

boolean B_Y_found

I_p2

int I_p2

I_p1

int I_p1

Class it.unimi.dsi.mg4j.index.snowball.FinnishStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

B_ending_removed

boolean B_ending_removed

S_x

MutableString S_x

I_p2

int I_p2

I_p1

int I_p1

Class it.unimi.dsi.mg4j.index.snowball.FrenchStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_p2

int I_p2

I_p1

int I_p1

I_pV

int I_pV

Class it.unimi.dsi.mg4j.index.snowball.German2Stemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_x

int I_x

I_p2

int I_p2

I_p1

int I_p1

Class it.unimi.dsi.mg4j.index.snowball.GermanStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_x

int I_x

I_p2

int I_p2

I_p1

int I_p1

Class it.unimi.dsi.mg4j.index.snowball.HungarianStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_p1

int I_p1

Class it.unimi.dsi.mg4j.index.snowball.ItalianStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_p2

int I_p2

I_p1

int I_p1

I_pV

int I_pV

Class it.unimi.dsi.mg4j.index.snowball.KraaijPohlmannStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

B_GE_removed

boolean B_GE_removed

B_stemmed

boolean B_stemmed

B_Y_found

boolean B_Y_found

I_p2

int I_p2

I_p1

int I_p1

I_x

int I_x

S_ch

MutableString S_ch

Class it.unimi.dsi.mg4j.index.snowball.LovinsStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Class it.unimi.dsi.mg4j.index.snowball.NorwegianStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_x

int I_x

I_p1

int I_p1

Class it.unimi.dsi.mg4j.index.snowball.PorterStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

B_Y_found

boolean B_Y_found

I_p2

int I_p2

I_p1

int I_p1

Class it.unimi.dsi.mg4j.index.snowball.PortugueseStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_p2

int I_p2

I_p1

int I_p1

I_pV

int I_pV

Class it.unimi.dsi.mg4j.index.snowball.SpanishStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_p2

int I_p2

I_p1

int I_p1

I_pV

int I_pV

Class it.unimi.dsi.mg4j.index.snowball.SwedishStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_x

int I_x

I_p1

int I_p1

Package it.unimi.dsi.mg4j.io

Class it.unimi.dsi.mg4j.io.FastBufferedReader extends Reader implements Serializable

serialVersionUID: -7046029254386353130L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Deprecated. 
Throws:
IOException
ClassNotFoundException
Serialized Fields

bufferSize

int bufferSize
Deprecated. 
The buffer size (must be equal to buffer.length).

Class it.unimi.dsi.mg4j.io.LineWordReader extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

fastBufferedReader

FastBufferedReader fastBufferedReader
Deprecated. 
An fast buffered reader wrapping the underlying reader.

Class it.unimi.dsi.mg4j.io.NullInputStream extends MeasurableInputStream implements Serializable

serialVersionUID: 1L

Serialization Methods

readResolve

private Object readResolve()
Deprecated. 

Class it.unimi.dsi.mg4j.io.NullReader extends Reader implements Serializable

serialVersionUID: 1L


Package it.unimi.dsi.mg4j.query

Class it.unimi.dsi.mg4j.query.FileSystemItem extends HttpServlet implements Serializable

serialVersionUID: 1L

Class it.unimi.dsi.mg4j.query.GenericItem extends VelocityViewServlet implements Serializable

serialVersionUID: 1L

Class it.unimi.dsi.mg4j.query.HelpPage extends VelocityViewServlet implements Serializable

serialVersionUID: 1L

Class it.unimi.dsi.mg4j.query.InputStreamItem extends HttpServlet implements Serializable

serialVersionUID: 1L

Class it.unimi.dsi.mg4j.query.MarkingMutableString extends MutableString implements Serializable

serialVersionUID: 1L

Serialized Fields

resume

boolean resume

marking

boolean marking

interval

SelectedInterval[] interval
The current set of intervals for marking.


count

int count

currMarkingInterval

int currMarkingInterval

currResumeInterval

int currResumeInterval

skipping

boolean skipping

oneCharOut

boolean oneCharOut

marker

Marker marker

escapeStrategy

MarkingMutableString.EscapeStrategy escapeStrategy

intervalSurround

int intervalSurround
The number of surrounding word around each interval.

Class it.unimi.dsi.mg4j.query.QueryServlet extends VelocityViewServlet implements Serializable

serialVersionUID: 1L

Serialized Fields

template

String template
The actual template used by this servlet (default: QueryServlet.DEFAULT_TEMPLATE).


queryEngine

QueryEngine queryEngine
The query engine.


documentCollection

DocumentCollection documentCollection
The document collection.


titleList

List<E> titleList
An optional title list if the document collection is not present.


indexMap

Object2ReferenceMap<K,V> indexMap
A sorted map from index names to indices: the first entry is the default index.


sortedIndex

Index[] sortedIndex
The indices of the fields specified in the index map, in increasing order (for document access).


mimeType

String mimeType
If not null, a MIME type suggested to the servlet.


useUri

boolean useUri
If true, the link associated to each item must be built using the document URI.


derelativise

boolean derelativise
If true, URIs are files that should be derelativised.

Class it.unimi.dsi.mg4j.query.SelectedInterval extends Object implements Serializable

serialVersionUID: 0L

Serialized Fields

interval

Interval interval
The underlying interval.


type

SelectedInterval.IntervalType type
The interval type, or null for an untyped interval.


Package it.unimi.dsi.mg4j.query.nodes

Class it.unimi.dsi.mg4j.query.nodes.QueryBuilderVisitorException extends Exception implements Serializable

serialVersionUID: 1L


Package it.unimi.dsi.mg4j.query.parser

Class it.unimi.dsi.mg4j.query.parser.ParseException extends Exception implements Serializable

Serialized Fields

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).


currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.


expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.


tokenImage

String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.


eol

String eol
The end of line string for this machine.

Class it.unimi.dsi.mg4j.query.parser.QueryParserException extends Exception implements Serializable

serialVersionUID: 1L

Class it.unimi.dsi.mg4j.query.parser.TokenMgrError extends Error implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.


Package it.unimi.dsi.mg4j.search

Class it.unimi.dsi.mg4j.search.Interval extends AbstractIntSortedSet implements Serializable

serialVersionUID: 1L

Serialized Fields

left

int left
Deprecated. 
The left extreme of the interval.


right

int right
Deprecated. 
The right extreme of the interval.


Package it.unimi.dsi.mg4j.tool

Class it.unimi.dsi.mg4j.tool.URLMPHVirtualDocumentResolver extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

url2DocumentPointer

StringMap<S extends CharSequence> url2DocumentPointer
The term map used by this resolver to associated URI strings to numbers.


Package it.unimi.dsi.mg4j.util

Class it.unimi.dsi.mg4j.util.BloomFilter extends Object implements Serializable

serialVersionUID: 2L

Serialized Fields

size

int size
Deprecated. 
The number of elements currently in the filter. It may be smaller than the actual number of additions because of false positives.


m

long m
Deprecated. 
The number of bits in this filter.


d

int d
Deprecated. 
The number of hash functions used by this filter.


bits

long[] bits
Deprecated. 
The underlying bit vector.


weight

int[][] weight
Deprecated. 
The random integers used to generate the hash functions.


init

int[] init
Deprecated. 
The random integers used to initialise the hash functions.

Class it.unimi.dsi.mg4j.util.FrontCodedStringList extends AbstractObjectList<MutableString> implements Serializable

serialVersionUID: 1L

Serialized Fields

byteFrontCodedList

ByteArrayFrontCodedList byteFrontCodedList
Deprecated. 
The underlying ByteArrayFrontCodedList, or null.


charFrontCodedList

CharArrayFrontCodedList charFrontCodedList
Deprecated. 
The underlying CharArrayFrontCodedList, or null.


utf8

boolean utf8
Deprecated. 
Whether this front-coded list is UTF-8 encoded.

Class it.unimi.dsi.mg4j.util.HashCodeSignedMinimalPerfectHash extends SignedMinimalPerfectHash implements Serializable

serialVersionUID: 1L

Serialized Fields

signature

int[] signature
Deprecated. 
The array of signatures.

Class it.unimi.dsi.mg4j.util.ImmutableBinaryTrie extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

root

ImmutableBinaryTrie.Node root
Deprecated. 
The root of the trie.


size

int size
Deprecated. 
The number of words in this trie.

Class it.unimi.dsi.mg4j.util.ImmutableBinaryTrie.Node extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

left

ImmutableBinaryTrie.Node left

right

ImmutableBinaryTrie.Node right

path

long[] path
An array containing the path compacted in this node (null if there is no compaction at this node).


pathLength

int pathLength
The length of the path compacted in this node (0 if there is no compaction at this node).


word

int word
If nonnegative, this node represent the word-th word.

Class it.unimi.dsi.mg4j.util.ImmutableExternalPrefixDictionary extends AbstractObjectList<CharSequence> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Deprecated. 
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Deprecated. 
Throws:
IOException
Serialized Fields

intervalApproximator

ImmutableExternalPrefixDictionary.IntervalApproximator intervalApproximator
Deprecated. 
The in-memory data structure used to approximate intervals..


blockSize

long blockSize
Deprecated. 
The block size of this dictionary (in bits).


decoder

Decoder decoder
Deprecated. 
A decoder used to read data from the dump stream.


symbol2char

char[] symbol2char
Deprecated. 
A map (given by an array) from symbols in the coder to characters.


char2symbol

Char2IntOpenHashMap char2symbol
Deprecated. 
A map from characters to symbols of the coder.


size

int size
Deprecated. 
The number of terms in this dictionary.


blockStart

int[] blockStart
Deprecated. 
The index of the first word in each block, plus an additional entry containing ImmutableExternalPrefixDictionary.size.


blockOffset

int[] blockOffset
Deprecated. 
An array parallel to ImmutableExternalPrefixDictionary.blockStart giving the offset in blocks in the dump file of the corresponding word in ImmutableExternalPrefixDictionary.blockStart. If there are no overflows, this will just be an initial segment of the natural numbers, but overflows cause jumps.


selfContained

boolean selfContained
Deprecated. 
Whether this dictionary is self-contained.


dumpStreamLength

long dumpStreamLength
Deprecated. 
The length in bytes of the dump stream, both for serialisation purposes and for minimal checks.

Class it.unimi.dsi.mg4j.util.ImmutableExternalTreePrefixDictionary extends ImmutableExternalPrefixDictionary implements Serializable

serialVersionUID: -7046029254386353130L

Class it.unimi.dsi.mg4j.util.ImmutableExternalTriePrefixDictionary extends ImmutableExternalPrefixDictionary implements Serializable

serialVersionUID: -7046029254386353130L

Class it.unimi.dsi.mg4j.util.ImmutableTriePrefixTree extends ImmutableBinaryTrie implements Serializable

serialVersionUID: -7046029254386353130L

Serialized Fields

prefixCoder

PrefixCoder prefixCoder
Deprecated. 
The coder used by this prefix tree.


char2symbol

Char2IntMap char2symbol
Deprecated. 
The map from characters to symbols.

Class it.unimi.dsi.mg4j.util.IntBloomFilter extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

m

int m
Deprecated. 
The number of bits in this filter.


d

int d
Deprecated. 
The number of hash functions used by this filter.


bits

long[] bits
Deprecated. 
The underlying bit vector.


a

int[] a
Deprecated. 
The random integers used multiplicatively.


b

int[] b
Deprecated. 
The random integers used in exclusive-or.

Class it.unimi.dsi.mg4j.util.InternedMutableStringSet extends ObjectOpenHashSet<MutableString> implements Serializable

serialVersionUID: 0L

Class it.unimi.dsi.mg4j.util.InternedMutableStringSet.Term extends MutableString implements Serializable

serialVersionUID: 0L

Serialized Fields

lastDocument

int lastDocument

lastPosition

int lastPosition

fbaos

FastByteArrayOutputStream fbaos

obs

OutputBitStream obs

Class it.unimi.dsi.mg4j.util.LiterallySignedMinimalPerfectHash extends SignedMinimalPerfectHash implements Serializable

serialVersionUID: 1L

Serialized Fields

signature

CharSequence[] signature
Deprecated. 
An array containing the original strings.

Class it.unimi.dsi.mg4j.util.MinimalPerfectHash extends AbstractTermMap implements Serializable

serialVersionUID: 2L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Deprecated. 
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Deprecated. 
Throws:
IOException
Serialized Fields

n

int n
Deprecated. 
The number of buckets.


m

int m
Deprecated. 
The number of vertices of the intermediate hypergraph, excluding the overhead nodes.


rightShift

int rightShift
Deprecated. 
The maximum amount of right shift to perform on a 32-bit number so to obtain something greater than or equal to MinimalPerfectHash.m.


init

int[] init
Deprecated. 
Initialisation values for the intermediate hash functions.


weight0

int[] weight0
Deprecated. 
Vector of weights to compute the first intermediate hash function.


weight1

int[] weight1
Deprecated. 
Vector of weights to compute the second intermediate hash function.


weight2

int[] weight2
Deprecated. 
Vector of weights to compute the third intermediate hash function.


weightLength

int weightLength
Deprecated. 
The length of the components of the weight vectors (it's faster than asking the length of the vectors).


g

int[] g
Deprecated. 
The final magick—the function turning the intermediate hash values into the final bucket.

Class it.unimi.dsi.mg4j.util.MutableString extends Object implements Serializable

serialVersionUID: -518929984008928417L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Deprecated. 
Reads a mutable string in serialised form.

Mutable strings produced by this method are always compact; this seems reasonable, as stored strings are unlikely going to be changed.

Because of limitations of ObjectInputStream, this method must read one character at a time, and does not try to do any read-ahead (in particular, it does not create any object). On non-buffered data inputs it might be very slow.

Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Deprecated. 
Writes a mutable string in serialised form.

The serialised version of a mutable string is made of its length followed by its characters (in UTF-16 format). Note that the compactness state is forgotten.

Because of limitations of ObjectOutputStream, this method must write one character at a time, and does not try to do any caching (in particular, it does not create any object). On non-buffered data outputs it might be very slow.

Throws:
IOException

Class it.unimi.dsi.mg4j.util.PermutedFrontCodedStringList extends AbstractObjectList<CharSequence> implements Serializable

serialVersionUID: -7046029254386353130L

Serialized Fields

frontCodedStringList

FrontCodedStringList frontCodedStringList
Deprecated. 
The underlying front-coded string list.


permutation

int[] permutation
Deprecated. 
The permutation.

Class it.unimi.dsi.mg4j.util.Properties extends PropertiesConfiguration implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Deprecated. 
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Deprecated. 
Throws:
IOException

Class it.unimi.dsi.mg4j.util.ShiftAddXorLongSignedMinimalPerfectHash extends SignedMinimalPerfectHash implements Serializable

serialVersionUID: 1L

Serialized Fields

signature

long[] signature
Deprecated. 
The array of signatures.

Class it.unimi.dsi.mg4j.util.ShiftAddXorSignedMinimalPerfectHash extends SignedMinimalPerfectHash implements Serializable

serialVersionUID: 1L

Serialized Fields

signature

int[] signature
Deprecated. 
The array of signatures.

Class it.unimi.dsi.mg4j.util.SignedMinimalPerfectHash extends MinimalPerfectHash implements Serializable

serialVersionUID: -7046029254386353130L

Class it.unimi.dsi.mg4j.util.TernaryIntervalSearchTree extends AbstractObjectList<CharSequence> implements Serializable

serialVersionUID: 1L

Serialized Fields

root

it.unimi.dsi.mg4j.util.TernaryIntervalSearchTree.Node root
Deprecated. 
The root of the tree.


size

int size
Deprecated. 
The number of nodes in the tree.


modified

boolean modified
Deprecated. 
True if the last TernaryIntervalSearchTree.add(CharSequence) modified the tree.

Class it.unimi.dsi.mg4j.util.TextPattern extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

pattern

char[] pattern
Deprecated. 
The pattern backing array.


caseSensitive

boolean caseSensitive
Deprecated. 
Whether this pattern is case sensitive.


asciiCase

boolean asciiCase
Deprecated. 
Whether this pattern uses optimised ASCII downcasing (as opposed to the correct Unicode downcasing procedure).


Package it.unimi.dsi.mg4j.util.parser.callback

Class it.unimi.dsi.mg4j.util.parser.callback.AnchorExtractor.Anchor extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

href

MutableString href
The content of the href attribute for this anchor.


anchorText

MutableString anchorText
The text surrounding this anchor.