class PartitionStateViewWalker implements SystemViewRowAttributeWalker<PartitionStateView> {
    /** Filter key for attribute "cacheGroupId" */
    public static final String CACHE_GROUP_ID_FILTER = "cacheGroupId";

    /** Filter key for attribute "nodeId" */
    public static final String NODE_ID_FILTER = "nodeId";

    /** Filter key for attribute "partitionId" */
    public static final String PARTITION_ID_FILTER = "partitionId";

    /** List of filtrable attributes. */
    private static final List<String> FILTRABLE_ATTRS = Collections.unmodifiableList(F.asList(
        "cacheGroupId", "nodeId", "partitionId"
    ));

    /** {@inheritDoc} */
    @Override public List<String> filtrableAttributes() {
        return FILTRABLE_ATTRS;
    }

    /** {@inheritDoc} */
    @Override public void visitAll(AttributeVisitor v) {
        v.accept(0, "cacheGroupId", int.class);
        v.accept(1, "nodeId", UUID.class);
        v.accept(2, "partitionId", int.class);
        v.accept(3, "state", String.class);
        v.accept(4, "isPrimary", boolean.class);
    }

    /** {@inheritDoc} */
    @Override public void visitAll(PartitionStateView row, AttributeWithValueVisitor v) {<FILL_FUNCTION_BODY>}

    /** {@inheritDoc} */
    @Override public int count() {
        return 5;
    }
}

        v.acceptInt(0, "cacheGroupId", row.cacheGroupId());
        v.accept(1, "nodeId", UUID.class, row.nodeId());
        v.acceptInt(2, "partitionId", row.partitionId());
        v.accept(3, "state", String.class, row.state());
        v.acceptBoolean(4, "isPrimary", row.isPrimary());
    
<no_super_class>