Serialized Form


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.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 Object implements Serializable

Serialized Fields

left

int left
The left extreme of the interval.


right

int right
The right extreme of the interval.


Package it.unimi.dsi.mg4j.util

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

Serialized Fields

m

int m
The number of bits in this filter.


d

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


bits

long[] bits
The underlying bit vector.


weight

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


size

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

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

Serialization Methods

readObject

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

signature

long[] signature

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

serialVersionUID: -7046029254386353130l

Serialization Methods

readObject

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

frontCodedList

ObjectList frontCodedList
The underlying front-coded list (either a ByteArrayFrontCodedList, or a CharArrayFrontCodedList, depending on the value of FrontCodedStringList.utf8).


utf8

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

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

Serialized Fields

signature

int[] signature

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

Serialized Fields

signature

CharSequence[] signature

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

serialVersionUID: -7046029254386353130l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException,
                         ClassNotFoundException
Serialized Fields

n

int n
The number of buckets.


m

int m
The number of vertices of the intermediate hypergraph.


rightShift

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


weight0

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


weight1

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


weight2

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


weightLength

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


g

int[] g
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
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.


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
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.

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

serialVersionUID: -7046029254386353130l

Serialized Fields

frontCodedStringList

FrontCodedStringList frontCodedStringList
The underlying front-coded string list.


permutation

int[] permutation
The permutation.

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

serialVersionUID: -7046029254386353130l

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

Serialized Fields

pattern

char[] pattern
The pattern backing array.


caseSensitive

boolean caseSensitive
Whether this pattern is case sensitive.


asciiCase

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