Class Document.Property
java.lang.Object
io.quarkus.redis.datasource.search.Document.Property
- Enclosing class:
- Document
Represents a document property / attribute
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Property
-
-
Method Details
-
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
- 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
- Returns:
- the property name
-
asJsonObject
public io.vertx.core.json.JsonObject asJsonObject()- Returns:
- the property value as JSON Object
-