Tabnine Logo
GraphSONMapper$Builder.typeInfo
Code IndexAdd Tabnine to your IDE (free)

How to use
typeInfo
method
in
org.apache.tinkerpop.gremlin.structure.io.graphson.GraphSONMapper$Builder

Best Java code snippets using org.apache.tinkerpop.gremlin.structure.io.graphson.GraphSONMapper$Builder.typeInfo (Showing top 20 results out of 315)

origin: apache/tinkerpop

@Override
public void initialize(final InputSplit genericSplit, final TaskAttemptContext context) throws IOException {
  this.lineRecordReader.initialize(genericSplit, context);
  this.hasEdges = context.getConfiguration().getBoolean(Constants.GREMLIN_HADOOP_GRAPH_READER_HAS_EDGES, true);
  this.graphsonReader = GraphSONReader.build().mapper(
      GraphSONMapper.build().
          version(GraphSONVersion.valueOf(context.getConfiguration().get(Constants.GREMLIN_HADOOP_GRAPHSON_VERSION, "V3_0"))).
          typeInfo(TypeInfo.PARTIAL_TYPES).
          addRegistries(IoRegistryHelper.createRegistries(ConfUtil.makeApacheConfiguration(context.getConfiguration()))).create()).create();
}
origin: apache/tinkerpop

/**
 * Only need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.
 */
@Test
@FeatureRequirement(featureClass = VertexPropertyFeatures.class, feature = FEATURE_STRING_VALUES)
@FeatureRequirement(featureClass = VertexPropertyFeatures.class, feature = FEATURE_INTEGER_VALUES)
@FeatureRequirement(featureClass = EdgePropertyFeatures.class, feature = EdgePropertyFeatures.FEATURE_FLOAT_VALUES)
@FeatureRequirement(featureClass = Graph.Features.VertexFeatures.class, feature = Graph.Features.VertexFeatures.FEATURE_USER_SUPPLIED_IDS)
@FeatureRequirement(featureClass = Graph.Features.VertexFeatures.class, feature = Graph.Features.VertexFeatures.FEATURE_NUMERIC_IDS)
@FeatureRequirement(featureClass = Graph.Features.VertexPropertyFeatures.class, feature = Graph.Features.VertexPropertyFeatures.FEATURE_USER_SUPPLIED_IDS)
@FeatureRequirement(featureClass = Graph.Features.VariableFeatures.class, feature = FEATURE_VARIABLES)
@LoadGraphWith(LoadGraphWith.GraphData.CLASSIC)
public void shouldWriteNormalizedGraphSON() throws Exception {
  try (ByteArrayOutputStream bos = new ByteArrayOutputStream()) {
    final GraphSONMapper mapper = graph.io(graphson).mapper().version(GraphSONVersion.V2_0).typeInfo(TypeInfo.NO_TYPES).normalize(true).create();
    final GraphSONWriter w = graph.io(graphson).writer().mapper(mapper).create();
    w.writeGraph(bos, graph);
    final String expected = streamToString(IoTest.class.getResourceAsStream(TestHelper.convertPackageToResourcePath(GraphSONResourceAccess.class) + "tinkerpop-classic-normalized-v2d0.json"));
    assertEquals(expected.replace("\n", "").replace("\r", ""), bos.toString().replace("\n", "").replace("\r", ""));
  }
}
origin: JanusGraph/janusgraph

@Parameterized.Parameters(name = "{0}")
public static Iterable<Object[]> data() {
  final GraphSONMapper v1mapper = GraphSONMapper.build().version(GraphSONVersion.V1_0).typeInfo(TypeInfo.PARTIAL_TYPES).addRegistry(JanusGraphIoRegistryV1d0.getInstance()).create();
  final GraphSONMapper v2mapper = GraphSONMapper.build().version(GraphSONVersion.V2_0).typeInfo(TypeInfo.PARTIAL_TYPES).addRegistry(JanusGraphIoRegistry.getInstance()).create();
  final GraphSONMapper v3mapper = GraphSONMapper.build().version(GraphSONVersion.V3_0).typeInfo(TypeInfo.PARTIAL_TYPES).addRegistry(JanusGraphIoRegistry.getInstance()).create();
  return Arrays.asList(new Object[][]{
    {"graphson-v1-embedded",
      (Function<Graph, GraphReader>) g -> GraphSONReader.build().mapper(v1mapper).create(),
      (Function<Graph, GraphWriter>) g -> GraphSONWriter.build().mapper(v1mapper).create()},
    {"graphson-v2-embedded",
      (Function<Graph, GraphReader>) g -> GraphSONReader.build().mapper(v2mapper).create(),
      (Function<Graph, GraphWriter>) g -> GraphSONWriter.build().mapper(v2mapper).create()},
    {"graphson-v3",
      (Function<Graph, GraphReader>) g -> GraphSONReader.build().mapper(v3mapper).create(),
      (Function<Graph, GraphWriter>) g -> GraphSONWriter.build().mapper(v3mapper).create()},
    {"gryo",
      (Function<Graph, GraphReader>) g -> g.io(IoCore.gryo()).reader().mapper(g.io(IoCore.gryo()).mapper().create()).create(),
      (Function<Graph, GraphWriter>) g -> g.io(IoCore.gryo()).writer().mapper(g.io(IoCore.gryo()).mapper().create()).create()}
  });
}
origin: org.apache.tinkerpop/gremlin-driver

@Override
GraphSONMapper.Builder configureBuilder(final GraphSONMapper.Builder builder) {
  // already set to 2.0 in AbstractGraphSONMessageSerializerV2d0
  return builder.typeInfo(TypeInfo.PARTIAL_TYPES).addCustomModule(new GremlinServerModule());
}
origin: org.apache.tinkerpop/gremlin-driver

  @Override
  GraphSONMapper.Builder configureBuilder(final GraphSONMapper.Builder builder) {
    // already set to 2.0 in AbstractGraphSONMessageSerializerV2d0
    return builder.typeInfo(TypeInfo.PARTIAL_TYPES).addCustomModule(new GremlinServerModule());
  }
}
origin: org.apache.tinkerpop/gremlin-driver

  @Override
  GraphSONMapper.Builder configureBuilder(final GraphSONMapper.Builder builder) {
    // already set to 1.0 in AbstractGraphSONMessageSerializerV1d0
    return builder.addCustomModule(new GraphSONMessageSerializerV1d0.GremlinServerModule())
        .typeInfo(TypeInfo.PARTIAL_TYPES);
  }
}
origin: org.apache.tinkerpop/gremlin-driver

@Override
GraphSONMapper.Builder configureBuilder(final GraphSONMapper.Builder builder) {
  // already set to 1.0 in AbstractGraphSONMessageSerializerV1d0
  return builder.addCustomModule(new GremlinServerModule())
      .typeInfo(TypeInfo.NO_TYPES);
}
origin: apache/atlas

public AtlasGraphSONReader create() {
  setDefaults();
  if(bulkLoadGraph == null) {
    bulkLoadGraph = graph;
  }
  final GraphSONMapper.Builder builder = GraphSONMapper.build();
  final GraphSONMapper         mapper  = builder.typeInfo(TypeInfo.NO_TYPES).create();
  return new AtlasGraphSONReader(mapper.createMapper(), relationshipCache, graph, bulkLoadGraph,
                              numWorkers, batchSize, suppliedStartIndex);
}
origin: org.apache.tinkerpop/gremlin-core

  public LegacyGraphSONReader create() {
    final GraphSONMapper.Builder builder = GraphSONMapper.build();
    customModules.forEach(builder::addCustomModule);
    final GraphSONMapper mapper = builder.typeInfo(embedTypes ? TypeInfo.PARTIAL_TYPES : TypeInfo.NO_TYPES)
        .loadCustomModules(loadCustomModules).create();
    return new LegacyGraphSONReader(mapper.createMapper(), batchSize);
  }
}
origin: apache/tinkerpop

module.addSerializer(CustomId.class, new CustomId.CustomIdJacksonSerializerV1d0());
final GraphWriter writer = graph.io(graphson).writer().mapper(
    graph.io(graphson).mapper().version(GraphSONVersion.V1_0).addCustomModule(module).typeInfo(TypeInfo.PARTIAL_TYPES).create()).create();
        .mapper(graph.io(graphson).mapper().version(GraphSONVersion.V1_0).typeInfo(TypeInfo.PARTIAL_TYPES).addCustomModule(module).create()).create();
    reader.readGraph(is, g2);
origin: apache/tinkerpop

@Parameterized.Parameters(name = "{0}")
public static Iterable<Object[]> data() {
  return Arrays.asList(new Object[][]{
      {"graphson-v1", false, false,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).reader().create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).writer().create()},
      {"graphson-v1-embedded", true, true,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).reader().mapper(g.io(IoCore.graphson()).mapper().typeInfo(TypeInfo.PARTIAL_TYPES).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).writer().mapper(g.io(IoCore.graphson()).mapper().typeInfo(TypeInfo.PARTIAL_TYPES).create()).create()},
      {"graphson-v2", false, false,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.NO_TYPES).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.NO_TYPES).create()).create()},
      {"graphson-v2-embedded", true, true,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.PARTIAL_TYPES).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.PARTIAL_TYPES).create()).create()},
      {"graphson-v3", true, true,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V3_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V3_0)).mapper().create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V3_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V3_0)).mapper().create()).create()},
      {"gryo-v1", true, true,
          (Function<Graph, GraphReader>) g -> g.io(GryoIo.build(GryoVersion.V1_0)).reader().create(),
          (Function<Graph, GraphWriter>) g -> g.io(GryoIo.build(GryoVersion.V1_0)).writer().create()},
      {"gryo-v3", true, true,
          (Function<Graph, GraphReader>) g -> g.io(GryoIo.build(GryoVersion.V3_0)).reader().create(),
          (Function<Graph, GraphWriter>) g -> g.io(GryoIo.build(GryoVersion.V3_0)).writer().create()}
  });
}
origin: apache/tinkerpop

@Parameterized.Parameters(name = "{0}")
public static Iterable<Object[]> data() {
  return Arrays.asList(new Object[][]{
      {"graphson-v1", false, false,
          (Function<Graph,GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).reader().create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).writer().create()},
      {"graphson-v1-embedded", true, true,
          (Function<Graph,GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.PARTIAL_TYPES).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.PARTIAL_TYPES).create()).create()},
      {"graphson-v2", false, false,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.NO_TYPES).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.NO_TYPES).create()).create()},
      {"graphson-v2-embedded", true, true,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.PARTIAL_TYPES).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.PARTIAL_TYPES).create()).create()},
      {"graphson-v3", true, true,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V3_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V3_0)).mapper().create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V3_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V3_0)).mapper().create()).create()},
      {"gryo-v1", true, true,
          (Function<Graph,GraphReader>) g -> g.io(GryoIo.build(GryoVersion.V1_0)).reader().create(),
          (Function<Graph, GraphWriter>) g -> g.io(GryoIo.build(GryoVersion.V1_0)).writer().create()},
      {"gryo-v3", true, true,
          (Function<Graph,GraphReader>) g -> g.io(GryoIo.build(GryoVersion.V3_0)).reader().create(),
          (Function<Graph, GraphWriter>) g -> g.io(GryoIo.build(GryoVersion.V3_0)).writer().create()}
  });
}
origin: apache/tinkerpop

@Parameterized.Parameters(name = "{0}")
public static Iterable<Object[]> data() {
  return Arrays.asList(new Object[][]{
      {"graphson-v1", false, false,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).reader().create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).writer().create()},
      {"graphson-v1-embedded", true, false,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V1_0)).mapper().typeInfo(TypeInfo.PARTIAL_TYPES).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V1_0)).mapper().typeInfo(TypeInfo.PARTIAL_TYPES).create()).create()},
      {"graphson-v2", false, false,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.NO_TYPES).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.NO_TYPES).create()).create()},
      {"graphson-v2-embedded", true, false,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.PARTIAL_TYPES).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().typeInfo(TypeInfo.PARTIAL_TYPES).create()).create()},
      {"graphson-v3", true, false,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V3_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V3_0)).mapper().create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V3_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V3_0)).mapper().create()).create()},
      {"gryo-v1", true, true,
          (Function<Graph, GraphReader>) g -> g.io(GryoIo.build(GryoVersion.V1_0)).reader().create(),
          (Function<Graph, GraphWriter>) g -> g.io(GryoIo.build(GryoVersion.V1_0)).writer().create()},
      {"gryo-v3", true, true,
          (Function<Graph, GraphReader>) g -> g.io(GryoIo.build(GryoVersion.V3_0)).reader().create(),
          (Function<Graph, GraphWriter>) g -> g.io(GryoIo.build(GryoVersion.V3_0)).writer().create()}
  });
}
origin: apache/tinkerpop

@Parameterized.Parameters(name = "{0}")
public static Iterable<Object[]> data() {
  final SimpleModule moduleV1d0 = new SimpleModule();
  moduleV1d0.addSerializer(CustomId.class, new CustomId.CustomIdJacksonSerializerV1d0());
  final SimpleModule moduleV2d0 = new CustomId.CustomIdTinkerPopJacksonModuleV2d0();
  final SimpleModule modulev3d0 = new CustomId.CustomIdTinkerPopJacksonModuleV3d0();
  return Arrays.asList(new Object[][]{
      {"graphson-v1-embedded", true,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V1_0)).mapper().addCustomModule(moduleV1d0).typeInfo(TypeInfo.PARTIAL_TYPES).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V1_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V1_0)).mapper().addCustomModule(moduleV1d0).typeInfo(TypeInfo.PARTIAL_TYPES).create()).create()},
      {"graphson-v2-embedded", true,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().addCustomModule(moduleV2d0).typeInfo(TypeInfo.PARTIAL_TYPES).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V2_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V2_0)).mapper().addCustomModule(moduleV2d0).typeInfo(TypeInfo.PARTIAL_TYPES).create()).create()},
      {"graphson-v3", true,
          (Function<Graph, GraphReader>) g -> g.io(GraphSONIo.build(GraphSONVersion.V3_0)).reader().mapper(g.io(GraphSONIo.build(GraphSONVersion.V3_0)).mapper().addCustomModule(modulev3d0).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GraphSONIo.build(GraphSONVersion.V3_0)).writer().mapper(g.io(GraphSONIo.build(GraphSONVersion.V3_0)).mapper().addCustomModule(modulev3d0).create()).create()},
      {"gryo-v1", true,
          (Function<Graph, GraphReader>) g -> g.io(GryoIo.build(GryoVersion.V1_0)).reader().mapper(g.io(GryoIo.build(GryoVersion.V1_0)).mapper().version(GryoVersion.V1_0).addCustom(CustomId.class).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GryoIo.build(GryoVersion.V1_0)).writer().mapper(g.io(GryoIo.build(GryoVersion.V1_0)).mapper().version(GryoVersion.V1_0).addCustom(CustomId.class).create()).create()},
      {"gryo-v3", true,
          (Function<Graph, GraphReader>) g -> g.io(GryoIo.build(GryoVersion.V3_0)).reader().mapper(g.io(GryoIo.build(GryoVersion.V3_0)).mapper().version(GryoVersion.V3_0).addCustom(CustomId.class).create()).create(),
          (Function<Graph, GraphWriter>) g -> g.io(GryoIo.build(GryoVersion.V3_0)).writer().mapper(g.io(GryoIo.build(GryoVersion.V3_0)).mapper().version(GryoVersion.V3_0).addCustom(CustomId.class).create()).create()}
  });
}
origin: apache/tinkerpop

public GraphSONRecordWriter(final DataOutputStream outputStream, final Configuration configuration) {
  this.outputStream = outputStream;
  this.hasEdges = configuration.getBoolean(Constants.GREMLIN_HADOOP_GRAPH_WRITER_HAS_EDGES, true);
  this.graphsonWriter = GraphSONWriter.build().mapper(
      GraphSONMapper.build().
          version(GraphSONVersion.valueOf(configuration.get(Constants.GREMLIN_HADOOP_GRAPHSON_VERSION, "V3_0"))).
          typeInfo(TypeInfo.PARTIAL_TYPES).
          addRegistries(IoRegistryHelper.createRegistries(ConfUtil.makeApacheConfiguration(configuration))).create()).create();
}
origin: apache/tinkerpop

  public LegacyGraphSONReader create() {
    final GraphSONMapper.Builder builder = GraphSONMapper.build();
    customModules.forEach(builder::addCustomModule);
    final GraphSONMapper mapper = builder.typeInfo(embedTypes ? TypeInfo.PARTIAL_TYPES : TypeInfo.NO_TYPES)
        .loadCustomModules(loadCustomModules).create();
    return new LegacyGraphSONReader(mapper.createMapper(), batchSize);
  }
}
origin: apache/tinkerpop

  @Override
  GraphSONMapper.Builder configureBuilder(final GraphSONMapper.Builder builder) {
    // already set to 2.0 in AbstractGraphSONMessageSerializerV2d0
    return builder.typeInfo(TypeInfo.PARTIAL_TYPES).addCustomModule(new GremlinServerModule());
  }
}
origin: apache/tinkerpop

@Override
GraphSONMapper.Builder configureBuilder(final GraphSONMapper.Builder builder) {
  // already set to 2.0 in AbstractGraphSONMessageSerializerV2d0
  return builder.typeInfo(TypeInfo.PARTIAL_TYPES).addCustomModule(new GremlinServerModule());
}
origin: apache/tinkerpop

@Override
GraphSONMapper.Builder configureBuilder(final GraphSONMapper.Builder builder) {
  // already set to 1.0 in AbstractGraphSONMessageSerializerV1d0
  return builder.addCustomModule(new GremlinServerModule())
      .typeInfo(TypeInfo.NO_TYPES);
}
origin: apache/tinkerpop

  @Override
  GraphSONMapper.Builder configureBuilder(final GraphSONMapper.Builder builder) {
    // already set to 1.0 in AbstractGraphSONMessageSerializerV1d0
    return builder.addCustomModule(new GraphSONMessageSerializerV1d0.GremlinServerModule())
        .typeInfo(TypeInfo.PARTIAL_TYPES);
  }
}
org.apache.tinkerpop.gremlin.structure.io.graphsonGraphSONMapper$BuildertypeInfo

Javadoc

GraphSON 2.0/3.0 should have types activated by default (3.0 does not have a typeless option), and 1.0 should use no types by default.

Popular methods of GraphSONMapper$Builder

  • create
  • version
    Set the version of GraphSON to use. The default is GraphSONVersion#V2_0.
  • addRegistry
  • addCustomModule
    Supply a mapper module for serialization/deserialization.
  • embedTypes
  • <init>
  • addRegistries
  • loadCustomModules
    Try to load SimpleModule instances from the current classpath. These are loaded in addition to the o
  • normalize
    Forces keys to be sorted.

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now