io.github.thunderz99.cosmos.condition.FieldKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-cosmos Show documentation
Show all versions of java-cosmos Show documentation
A lightweight Azure CosmosDB client for Java
package io.github.thunderz99.cosmos.condition;
import io.github.thunderz99.cosmos.dto.RecordData;
/**
* A class representing a key of a json field. e.g. "name" for "c.name" or "address.country" for "c.address.country"
*
*
* e.g. find documents where mail field does not equal mail2 field
* Condition.filter("mail !=", Condition.key("mail2"))
*
*/
public class FieldKey extends RecordData {
public String keyName;
public FieldKey(){
}
public FieldKey(String keyName){
this.keyName = keyName;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy