Class NoOpByteArrayConverter

java.lang.Object
org.neo4j.ogm.typeconversion.NoOpByteArrayConverter
All Implemented Interfaces:
AttributeConverter<byte[],byte[]>

public final class NoOpByteArrayConverter extends Object implements AttributeConverter<byte[],byte[]>
This converter is provided for convenience so that the default conversion of byte arrays (byte[] to Base64 encoded Strings can be turned off. Be aware that this works only with the embedded or bolt transport! Neo4j's HTTP endpoint does not support literal byte arrays. In that case, the values will be stored as Base64 encoded string. Those Strings can be however read into a byte array literal.
Author:
Michael J. Simons
  • Constructor Details

    • NoOpByteArrayConverter

      public NoOpByteArrayConverter()
  • Method Details