public final class KeyUtil extends Object
|Modifier and Type||Method and Description|
Returns a copy of the provided
public static Key getKeyWithoutAncestors(Key entityKey)
entityKeywith its ancestors removed.
This is useful for performing HAS_ANCESTOR queries in Datastore which do not expect a fully qualified ancestors key list in the provided key.
entityKey- The Datastore entity key to transform.
entityKeywith ancestors removed.
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.