org.apache.tinkerpop.gremlin.structure.util.FeatureDescriptor Java Examples

The following examples show how to use org.apache.tinkerpop.gremlin.structure.util.FeatureDescriptor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: HugeFeatures.java    From hugegraph with Apache License 2.0 5 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_UNIFORM_LIST_VALUES)
public boolean supportsUniformListValues() {
    /*
     * NOTE: must use cardinality list if use LIST property value,
     * can't support a LIST property value with cardinality single
     */
    return true;
}
 
Example #2
Source File: HugeFeatures.java    From hugegraph with Apache License 2.0 5 votes vote down vote up
/**
 * All these supportsXxArrayValues() must be used with cardinality list
 * we can't support array values with cardinality single like tinkerpop
 */
@Override
@FeatureDescriptor(name = FEATURE_BYTE_ARRAY_VALUES)
public boolean supportsByteArrayValues() {
    // Regard as blob
    return true;
}
 
Example #3
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_DOUBLE_ARRAY_VALUES)
public boolean supportsDoubleArrayValues() {
    return false;
}
 
Example #4
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_ADD_EDGES)
public boolean supportsAddEdges() {
    return !readonly;
}
 
Example #5
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_REMOVE_EDGES)
public boolean supportsRemoveEdges() {
    return !readonly;
}
 
Example #6
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_UNIFORM_LIST_VALUES)
public boolean supportsUniformListValues() {
    return false;
}
 
Example #7
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_INTEGER_ARRAY_VALUES)
public boolean supportsIntegerArrayValues() {
    return false;
}
 
Example #8
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_CUSTOM_IDS)
public boolean supportsCustomIds() {
    return false;
}
 
Example #9
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_DOUBLE_ARRAY_VALUES)
public boolean supportsDoubleArrayValues() {
    return false;
}
 
Example #10
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_BYTE_ARRAY_VALUES)
public boolean supportsByteArrayValues() {
    return false;
}
 
Example #11
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_REMOVE_PROPERTY)
public boolean supportsRemoveProperty() {
    return !readonly;
}
 
Example #12
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_STRING_IDS)
public boolean supportsStringIds() {
    return false;
}
 
Example #13
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_UNIFORM_LIST_VALUES)
public boolean supportsUniformListValues() {
    return false;
}
 
Example #14
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_LONG_ARRAY_VALUES)
public boolean supportsLongArrayValues() {
    return false;
}
 
Example #15
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_STRING_ARRAY_VALUES)
public boolean supportsStringArrayValues() {
    return false;
}
 
Example #16
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_INTEGER_ARRAY_VALUES)
public boolean supportsIntegerArrayValues() {
    return false;
}
 
Example #17
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_FLOAT_ARRAY_VALUES)
public boolean supportsFloatArrayValues() {
    return false;
}
 
Example #18
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_META_PROPERTIES)
public boolean supportsMetaProperties() {
    return false;
}
 
Example #19
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_BYTE_ARRAY_VALUES)
public boolean supportsByteArrayValues() {
    return false;
}
 
Example #20
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_BOOLEAN_ARRAY_VALUES)
public boolean supportsBooleanArrayValues() {
    return false;
}
 
Example #21
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_MIXED_LIST_VALUES)
public boolean supportsMixedListValues() {
    return false;
}
 
Example #22
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_MAP_VALUES)
public boolean supportsMapValues() {
    return false;
}
 
Example #23
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_INTEGER_VALUES)
public boolean supportsIntegerValues() {
    return false;
}
 
Example #24
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_FLOAT_VALUES)
public boolean supportsFloatValues() {
    return false;
}
 
Example #25
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_BYTE_VALUES)
public boolean supportsByteValues() {
    return false;
}
 
Example #26
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_SERIALIZABLE_VALUES)
public boolean supportsSerializableValues() {
    return false;
}
 
Example #27
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_ANY_IDS)
public boolean supportsAnyIds() {
    return false;
}
 
Example #28
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_CUSTOM_IDS)
public boolean supportsCustomIds() {
    return false;
}
 
Example #29
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_UUID_IDS)
public boolean supportsUuidIds() {
    return false;
}
 
Example #30
Source File: Neo4JGraphFeatures.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
@FeatureDescriptor(name = FEATURE_STRING_IDS)
public boolean supportsStringIds() {
    return false;
}