
org.cloudgraph.config.ConfigurationProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudgraph-config Show documentation
Show all versions of cloudgraph-config Show documentation
CloudGraph(tm) is a suite of Service Data Object (SDO) 2.1 services designed for relational and big-table style "cloud" databases, such as HBase and others.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.09.11 at 04:42:56 PM MST
//
package org.cloudgraph.config;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ConfigurationProperty.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ConfigurationProperty">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="cloudgraph.unique.checks"/>
* <enumeration value="cloudgraph.query.fetchtype"/>
* <enumeration value="cloudgraph.query.threadpool.size.min"/>
* <enumeration value="cloudgraph.query.threadpool.size.max"/>
* <enumeration value="cloudgraph.query.thread.depth.max"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ConfigurationProperty")
@XmlEnum
public enum ConfigurationProperty {
/**
* Whether to first check for an existing matching row
* key before creating/inserting new rows.
*
* - Name: cloudgraph.unique.checks
* - Data Type: boolean
* - Expected Values: true,false
* - Default: false
*
*
*
*/
@XmlEnumValue("cloudgraph.unique.checks")
CLOUDGRAPH___UNIQUE___CHECKS("cloudgraph.unique.checks"),
/**
* The type of fetch used when executing queries.
* Name: cloudgraph.query.fetchtype
* Data Type: string
* Expected Values: serial,parallel
* Default: serial
* @see QueryFetchType
*
*
*/
@XmlEnumValue("cloudgraph.query.fetchtype")
CLOUDGRAPH___QUERY___FETCHTYPE("cloudgraph.query.fetchtype"),
/**
* The minimum or core size of the query thread pool when using 'parallel' for the value of the
* cloudgraph.query.fetchtype configuration property. Ignored if the cloudgraph.query.fetchtype
* configuration property is not set. If set equal to cloudgraph.query.threadpool.size.max a fixed
* sized thread pool will be allocated.
* Name: cloudgraph.query.threadpool.size.min
* Data Type: int
* Default: 10
*
*
*/
@XmlEnumValue("cloudgraph.query.threadpool.size.min")
CLOUDGRAPH___QUERY___THREADPOOL___SIZE___MIN("cloudgraph.query.threadpool.size.min"),
/**
* The maximum size of the query thread pool when using 'parallel' for the value of the
* cloudgraph.query.fetchtype configuration property. Ignored if the cloudgraph.query.fetchtype
* configuration property is not set.
* Name: cloudgraph.query.threadpool.size.max
* Data Type: int
* Default: 20
*
*
*/
@XmlEnumValue("cloudgraph.query.threadpool.size.max")
CLOUDGRAPH___QUERY___THREADPOOL___SIZE___MAX("cloudgraph.query.threadpool.size.max"),
/**
* The maximum graph traversal depth below which new query threads may be allocated when using 'parallel' for the value of the
* cloudgraph.query.fetchtype configuration property. Ignored if the cloudgraph.query.fetchtype
* configuration property is not set.
* Name: cloudgraph.query.thread.depth.max
* Data Type: int
* Default: 7
*
*
*/
@XmlEnumValue("cloudgraph.query.thread.depth.max")
CLOUDGRAPH___QUERY___THREAD___DEPTH___MAX("cloudgraph.query.thread.depth.max");
private final String value;
ConfigurationProperty(String v) {
value = v;
}
public String value() {
return value;
}
public static ConfigurationProperty fromValue(String v) {
for (ConfigurationProperty c: ConfigurationProperty.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy