Class RawKeyTranslatorFactory

java.lang.Object
com.googlecode.objectify.impl.translate.ValueTranslatorFactory<P,D>
com.googlecode.objectify.impl.translate.SimpleTranslatorFactory<com.google.cloud.datastore.Key,com.google.cloud.datastore.Key>
com.googlecode.objectify.impl.translate.RawKeyTranslatorFactory
All Implemented Interfaces:
TranslatorFactory<com.google.cloud.datastore.Key,com.google.cloud.datastore.Key>

public class RawKeyTranslatorFactory extends SimpleTranslatorFactory<com.google.cloud.datastore.Key,com.google.cloud.datastore.Key>

Handle the native datastore Key

Author:
Jeff Schnitzer invalid input: '<'[email protected]>
  • Constructor Details

    • RawKeyTranslatorFactory

      public RawKeyTranslatorFactory()
  • Method Details

    • toPojo

      protected com.google.cloud.datastore.Key toPojo(com.google.cloud.datastore.Value<com.google.cloud.datastore.Key> value)
      Specified by:
      toPojo in class SimpleTranslatorFactory<com.google.cloud.datastore.Key,com.google.cloud.datastore.Key>
    • toDatastore

      protected com.google.cloud.datastore.Value<com.google.cloud.datastore.Key> toDatastore(com.google.cloud.datastore.Key value)
      Specified by:
      toDatastore in class SimpleTranslatorFactory<com.google.cloud.datastore.Key,com.google.cloud.datastore.Key>