• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java Features类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.tinkerpop.blueprints.Features的典型用法代码示例。如果您正苦于以下问题:Java Features类的具体用法?Java Features怎么用?Java Features使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



Features类属于com.tinkerpop.blueprints包,在下文中一共展示了Features类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
public Features getFeatures() {
	Features f = new Features();
	f.ignoresSuppliedIds = false;
	f.isPersistent = true;
	f.supportsStringProperty = true;
	return f;
}
 
开发者ID:dpv91788,项目名称:HBaseTinkerGraph,代码行数:8,代码来源:HbaseGraph.java


示例2: getBaselineTitanFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
private static Features getBaselineTitanFeatures() {
    Features features = new Features();
    features.supportsDuplicateEdges = true;
    features.supportsSelfLoops = true;
    features.supportsSerializableObjectProperty = true;
    features.supportsBooleanProperty = true;
    features.supportsDoubleProperty = true;
    features.supportsFloatProperty = true;
    features.supportsIntegerProperty = true;
    features.supportsPrimitiveArrayProperty = true;
    features.supportsUniformListProperty = true;
    features.supportsMixedListProperty = true;
    features.supportsLongProperty = true;
    features.supportsMapProperty = true;
    features.supportsStringProperty = true;
    features.ignoresSuppliedIds = true;
    features.isPersistent = true;
    features.isWrapper = false;
    features.supportsIndices = false;
    features.supportsVertexIndex = false;
    features.supportsEdgeIndex = false;
    features.supportsKeyIndices = true;
    features.supportsVertexKeyIndex = false;
    features.supportsEdgeKeyIndex = false;
    features.supportsEdgeIteration = false;
    features.supportsVertexIteration = false;
    features.supportsVertexProperties = true;
    features.supportsEdgeProperties = true;
    features.supportsEdgeRetrieval = true;
    features.supportsTransactions = true;
    features.supportsThreadedTransactions = true;
    setIfExists(features, "supportsThreadIsolatedTransactions", true);
    features.checkCompliance();
    return features;
}
 
开发者ID:graben1437,项目名称:titan0.5.4-hbase1.1.1-custom,代码行数:36,代码来源:TitanFeatures.java


示例3: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
public static Features getFeatures(GraphDatabaseConfiguration config, StoreFeatures storageFeatures) {
    Features features = TitanFeatures.getBaselineTitanFeatures();
    features.supportsSerializableObjectProperty = config.hasSerializeAll();
    if (storageFeatures != null) {
        if (storageFeatures.hasScan()) {
            features.supportsVertexIteration = true;
            features.supportsEdgeIteration = true;
        }
    }
    return features;
}
 
开发者ID:graben1437,项目名称:titan0.5.4-hbase1.1.1-custom,代码行数:12,代码来源:TitanFeatures.java


示例4: get

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
public static Features get() {
  Features f = new Features();

  // For simplicity, I accept all property types. They are handled in not the
  // best way. To be fixed later.
  f.ignoresSuppliedIds = true;
  f.isPersistent = true;
  f.isWrapper = false;
  f.supportsBooleanProperty = true;
  f.supportsDoubleProperty = true;
  f.supportsDuplicateEdges = true;
  f.supportsEdgeIndex = true;
  f.supportsEdgeIteration = true;
  f.supportsEdgeRetrieval = true;
  f.supportsEdgeKeyIndex = true;
  f.supportsEdgeProperties = true;
  f.supportsFloatProperty = true;
  f.supportsIndices = true;
  f.supportsIntegerProperty = true;
  f.supportsKeyIndices = true;
  f.supportsLongProperty = true;
  f.supportsMapProperty = true;
  f.supportsMixedListProperty = true;
  f.supportsPrimitiveArrayProperty = true;
  f.supportsSelfLoops = true;
  f.supportsSerializableObjectProperty = true;
  f.supportsStringProperty = true;
  f.supportsThreadedTransactions = false;
  f.supportsTransactions = false;
  f.supportsUniformListProperty = true;
  f.supportsVertexIndex = true;
  f.supportsVertexIteration = true;
  f.supportsVertexKeyIndex = true;
  f.supportsVertexProperties = true;
  f.supportsThreadIsolatedTransactions = false;

  return f;
}
 
开发者ID:JHUAPL,项目名称:AccumuloGraph,代码行数:39,代码来源:AccumuloFeatures.java


示例5: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
@Override
public Features getFeatures() {
    Features features = new Features();
    features.supportsTransactions = false;
    features.supportsDuplicateEdges = false;
    features.supportsSelfLoops = true;
    features.supportsSerializableObjectProperty = true;
    features.supportsBooleanProperty = true;
    features.supportsDoubleProperty = true;
    features.supportsFloatProperty = true;
    features.supportsIntegerProperty = true;
    features.supportsPrimitiveArrayProperty = false;
    features.supportsUniformListProperty = false;
    features.supportsMixedListProperty = false;
    features.supportsLongProperty = true;
    features.supportsMapProperty = false;
    features.supportsStringProperty = true;
    features.ignoresSuppliedIds = false;
    features.isPersistent = true;
    features.isWrapper = true;
    features.supportsIndices = true;
    features.supportsVertexIndex = true;
    features.supportsEdgeIndex = true;
    features.supportsKeyIndices = true;
    features.supportsVertexKeyIndex = true;
    features.supportsEdgeKeyIndex = true;
    features.supportsEdgeIteration = true;
    features.supportsVertexIteration = true;
    features.supportsEdgeRetrieval = true;
    features.supportsVertexProperties = true;
    features.supportsEdgeProperties = true;
    features.supportsThreadedTransactions = false;
    features.supportsTransactions = false;

    return features;

}
 
开发者ID:calrissian,项目名称:accumulo-recipes,代码行数:38,代码来源:EntityGraph.java


示例6: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
@Override
public Features getFeatures() {
    Features features = new Features();
    for (final Field field : features.getClass().getFields()) {
        try {
            field.set(features, false);
        } catch (IllegalArgumentException | IllegalAccessException e) {
            throw new RuntimeException(e);
        }
    }
    //features.isPersistent = true;
    features.supportsDuplicateEdges = true;
    features.supportsStringProperty = true;
    features.supportsIntegerProperty = true;
    features.supportsBooleanProperty = true;
    features.supportsDoubleProperty = true;
    features.supportsLongProperty = true;
    features.supportsFloatProperty = true;
    features.supportsSerializableObjectProperty = true;
    features.supportsUniformListProperty = true;
    features.supportsMixedListProperty = true;
    features.supportsPrimitiveArrayProperty = true;
    features.supportsMapProperty = true;
    features.ignoresSuppliedIds = true;
    features.supportsVertexProperties = true;
    features.supportsVertexIteration = true;
    features.supportsEdgeProperties = true;
    features.supportsEdgeIteration = true;
    features.supportsEdgeRetrieval = true;
    features.supportsTransactions = true;
    features.checkCompliance();
    return features;
}
 
开发者ID:nla,项目名称:amberdb,代码行数:34,代码来源:BaseGraph.java


示例7: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
@Override
public Features getFeatures() {
    return FEATURES;
}
 
开发者ID:visallo,项目名称:vertexium,代码行数:5,代码来源:VertexiumBlueprintsGraph.java


示例8: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
@Override
public Features getFeatures() {
    return TitanFeatures.getFeatures(getConfiguration(), backend.getStoreFeatures());
}
 
开发者ID:graben1437,项目名称:titan0.5.4-hbase1.1.1-custom,代码行数:5,代码来源:StandardTitanGraph.java


示例9: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
@Override
public Features getFeatures() {
  return AccumuloFeatures.get();
}
 
开发者ID:JHUAPL,项目名称:AccumuloGraph,代码行数:5,代码来源:AccumuloGraph.java


示例10: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
public Features getFeatures() {
    return this.features;
}
 
开发者ID:dsiegel,项目名称:BlueprintsExperiment,代码行数:4,代码来源:EventGraph.java


示例11: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
@Override
public Features getFeatures() {
  return FEATURES;
}
 
开发者ID:trendmicro,项目名称:HGraph,代码行数:5,代码来源:Graph.java


示例12: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
@Override
public Features getFeatures() {
    return graph.getFeatures();
}
 
开发者ID:indexiatech,项目名称:antiquity,代码行数:5,代码来源:VersionContextGraph.java


示例13: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
@Override
public Features getFeatures() {
    return features;
}
 
开发者ID:indexiatech,项目名称:antiquity,代码行数:5,代码来源:VersionedGraphBase.java


示例14: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
@Override
public Features getFeatures() {
	return new AccumuloFeatures();
}
 
开发者ID:mikelieberman,项目名称:blueprints-accumulo-graph,代码行数:5,代码来源:AccumuloGraph.java


示例15: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
public Features getFeatures() {
    return features;
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:4,代码来源:IdGraph.java


示例16: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
@Override
public Features getFeatures() {
	Features features = config.getConfiguredGraph().getFeatures().copyFeatures();
	features.isWrapper = true;
	return features;
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:7,代码来源:FramedGraph.java


示例17: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
@Override
public Features getFeatures() {
	// TODO Implement this
	return null;
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:6,代码来源:DGraph.java


示例18: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
@Override
public Features getFeatures() {
	return DominoGraph.FEATURES;
}
 
开发者ID:OpenNTF,项目名称:org.openntf.domino,代码行数:5,代码来源:DominoGraph.java


示例19: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
@Override
public Features getFeatures() {
	return FEATURES;
}
 
开发者ID:arangodb,项目名称:blueprints-arangodb-graph,代码行数:5,代码来源:ArangoDBGraph.java


示例20: getFeatures

import com.tinkerpop.blueprints.Features; //导入依赖的package包/类
/**
 * Get the particular features of the graph implementation. Not all graph
 * implementations are identical nor perfectly implement the Blueprints API. The
 * Features object returned contains meta-data about numerous potential
 * divergences between implementations.
 *
 * @return the features of this particular Graph implementation
 */
@Override
public Features getFeatures() {
	return null;
}
 
开发者ID:JaewookByun,项目名称:epcis,代码行数:13,代码来源:CachedChronoGraph.java



注:本文中的com.tinkerpop.blueprints.Features类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java BCrypt类代码示例发布时间:2022-05-21
下一篇:
Java CellSetModel类代码示例发布时间:2022-05-21
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap