Class Document.Property
- java.lang.Object
-
- io.quarkus.redis.datasource.search.Document.Property
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
asBoolean()
byte[]
asBytes()
double
asDouble()
int
asInteger()
io.vertx.core.json.JsonObject
asJsonObject()
long
asLong()
String
asString()
String
name()
io.vertx.mutiny.redis.client.Response
unwrap()
-
-
-
Constructor Detail
-
Property
public Property(String name, io.vertx.mutiny.redis.client.Response response)
-
-
Method Detail
-
asDouble
public double asDouble()
- Returns:
- the property value as double
-
asInteger
public int asInteger()
- Returns:
- the property value as integer
-
asLong
public long asLong()
- Returns:
- the property value as long
-
unwrap
public io.vertx.mutiny.redis.client.Response unwrap()
- Returns:
- the raw property value
-
asString
public String asString()
- Returns:
- the property value as string
-
asBytes
public byte[] asBytes()
- Returns:
- the property value as byte array
-
asBoolean
public boolean asBoolean()
- Returns:
- the property value as boolean
-
name
public String name()
- Returns:
- the property name
-
asJsonObject
public io.vertx.core.json.JsonObject asJsonObject()
- Returns:
- the property value as JSON Object
-
-