Class IndexTranslator

java.lang.Object
com.google.appengine.api.datastore.IndexTranslator

public class IndexTranslator extends Object
Helper class to translate between Index to OnestoreEntity.Index.
  • Constructor Details

    • IndexTranslator

      public IndexTranslator()
  • Method Details

    • convertToPb

      public static com.google.storage.onestore.v3_bytes.proto2api.OnestoreEntity.Index convertToPb(Index index)
    • convertToPb

      public static com.google.storage.onestore.v3_bytes.proto2api.OnestoreEntity.Index.Property convertToPb(Index.Property property)
    • convertFromPb

      public static Index convertFromPb(com.google.storage.onestore.v3_bytes.proto2api.OnestoreEntity.CompositeIndex ci)
    • convertFromPb

      public static Index.Property convertFromPb(com.google.storage.onestore.v3_bytes.proto2api.OnestoreEntity.Index.Property property)
    • convertFromPb

      public static Index convertFromPb(com.google.storage.onestore.v3_bytes.proto2api.OnestoreEntity.Index index)