redis.clients.jedis.search.schemafields.SchemaField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis Show documentation
Show all versions of jedis Show documentation
Jedis is a blazingly small and sane Redis java client.
package redis.clients.jedis.search.schemafields;
import redis.clients.jedis.params.IParams;
import redis.clients.jedis.search.FieldName;
public abstract class SchemaField implements IParams {
protected final FieldName fieldName;
public SchemaField(String fieldName) {
this.fieldName = new FieldName(fieldName);
}
public SchemaField(FieldName fieldName) {
this.fieldName = fieldName;
}
public SchemaField as(String attribute) {
fieldName.as(attribute);
return this;
}
public final FieldName getFieldName() {
return fieldName;
}
public final String getName() {
return fieldName.getName();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy