class ClientCacheNodePartitionsRequest extends ClientCacheRequest {
    /**
     * Initializes a new instance of ClientRawRequest class.
     * @param reader Reader.
     */
    public ClientCacheNodePartitionsRequest(BinaryRawReader reader) {
        super(reader);
    }

    /** {@inheritDoc} */
    @Override public ClientResponse process(ClientConnectionContext ctx) {<FILL_FUNCTION_BODY>}
}

        IgniteCache cache = cache(ctx);

        GridDiscoveryManager discovery = ctx.kernalContext().discovery();
        Collection<ClusterNode> nodes = discovery.discoCache().cacheNodes(cache.getName());

        Affinity aff = ctx.kernalContext().affinity().affinityProxy(cache.getName());

        ArrayList<ClientConnectableNodePartitions> res = new ArrayList<>();

        for (ClusterNode node : nodes) {
            Integer port = node.attribute(ClientListenerProcessor.CLIENT_LISTENER_PORT);

            if (port == null)
                continue;

            Collection<String> addrs = node.addresses();

            int[] parts = aff.primaryPartitions(node);

            res.add(new ClientConnectableNodePartitions(port, addrs, parts));
        }

        return new ClientCacheNodePartitionsResponse(requestId(), res);
    
<methods>public static org.apache.ignite.internal.processors.cache.DynamicCacheDescriptor cacheDescriptor(org.apache.ignite.internal.processors.platform.client.ClientConnectionContext, int) <variables>private static final byte FLAG_WITH_EXPIRY_POLICY,private static final byte KEEP_BINARY_FLAG_MASK,private static final byte TRANSACTIONAL_FLAG_MASK,private final non-sealed int cacheId,private final non-sealed ExpiryPolicy expiryPolicy,private final non-sealed byte flags