Modifier and Type | Class and Description |
---|---|
static interface |
GryoMapper.Builder |
static class |
GryoMapper.BuilderV1d0 |
static interface |
GryoMapper.HeaderReader |
static interface |
GryoMapper.HeaderWriter |
static class |
GryoMapper.Version |
Modifier and Type | Field and Description |
---|---|
static byte |
DEFAULT_EXTENDED_VERSION |
Modifier and Type | Method and Description |
---|---|
static GryoMapper.Builder |
build()
Use the most current version of Gryo.
|
static GryoMapper.Builder |
build(GryoMapper.Version version)
Use a specific version of Gryo.
|
Kryo |
createMapper()
Create a new instance of the internal object mapper that an implementation represents.
|
GryoMapper.HeaderReader |
getHeaderReader() |
GryoMapper.HeaderWriter |
getHeaderWriter() |
byte[] |
getVersionedHeader()
Gets the header for a Gremlin Kryo file, which is based on the version of Gremlin Kryo that is constructed
via the builder classes.
|
public static final byte DEFAULT_EXTENDED_VERSION
public Kryo createMapper()
Mapper
createMapper
in interface Mapper<Kryo>
public GryoMapper.HeaderWriter getHeaderWriter()
public GryoMapper.HeaderReader getHeaderReader()
public byte[] getVersionedHeader()
public static GryoMapper.Builder build(GryoMapper.Version version)
public static GryoMapper.Builder build()
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.