Package com.google.gerrit.index
Interface StoredValue
-
public interface StoredValue
Representation of a field stored on the index. Used to load field values from different index backends.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
asByteArray()
Returns thebyte[]
value of the field.Iterable<byte[]>
asByteArrays()
Returns thebyte[]
values of the field.Integer
asInteger()
Returns theInteger
value of the field.Iterable<Integer>
asIntegers()
Returns theInteger
values of the field.Long
asLong()
Returns theLong
value of the field.Iterable<Long>
asLongs()
Returns theLong
values of the field.String
asString()
Returns theString
value of the field.Iterable<String>
asStrings()
Returns theString
values of the field.Timestamp
asTimestamp()
Returns theTimestamp
value of the field.
-
-
-
Method Detail
-
asByteArray
byte[] asByteArray()
Returns thebyte[]
value of the field.
-
asByteArrays
Iterable<byte[]> asByteArrays()
Returns thebyte[]
values of the field.
-
-