All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dyuproject.protostuff.ds.prk.bk.KbPK Maven / Gradle / Ivy

The newest version!
// Generated by fbsgen from p/ds/prk/pk/PK.proto

package com.dyuproject.protostuff.ds.prk.bk;

import com.dyuproject.protostuff.KeyBuilder;
import com.dyuproject.protostuffdb.EntityMetadata;

public final class KbPK
{
    private KbPK() {}

    public static  KeyBuilder byPK1(int indexId, 
            byte[] p0, int p0off, 
            int p1, 
            EntityMetadata em, KeyBuilder kb)
    {
        return kb.begin(indexId, em)
                .$append(p0, p0off, 9)
                .$append8(p1);
    }

    public static  KeyBuilder byPK4(int indexId, 
            byte[] p0, int p0off, 
            int p1, 
            EntityMetadata em, KeyBuilder kb)
    {
        return kb.begin(indexId, em)
                .$append(p0, p0off, 9)
                .$append(p1);
    }

    public static  KeyBuilder byPK8(int indexId, 
            byte[] p0, int p0off, 
            long p1, 
            EntityMetadata em, KeyBuilder kb)
    {
        return kb.begin(indexId, em)
                .$append(p0, p0off, 9)
                .$append(p1);
    }

    public static  KeyBuilder byPKD(int indexId, 
            byte[] p0, int p0off, 
            long p1, 
            EntityMetadata em, KeyBuilder kb)
    {
        return kb.begin(indexId, em)
                .$append(p0, p0off, 9)
                .$append6Bytes(p1);
    }

    public static  KeyBuilder byPKD(int indexId, 
            byte[] p0, int p0off, 
            byte[] p1, int p1off, 
            EntityMetadata em, KeyBuilder kb)
    {
        return kb.begin(indexId, em)
                .$append(p0, p0off, 9)
                .$append(p1, p1off, 6);
    }

    public static  KeyBuilder byPKK(int indexId, 
            byte[] p0, int p0off, 
            byte[] p1, int p1off, 
            EntityMetadata em, KeyBuilder kb)
    {
        return kb.begin(indexId, em)
                .$append(p0, p0off, 9)
                .$append(p1, p1off, 9);
    }

    public static  KeyBuilder byPKS(int indexId, 
            byte[] p0, int p0off, 
            String p1, 
            EntityMetadata em, KeyBuilder kb)
    {
        return kb.begin(indexId, em)
                .$append(p0, p0off, 9)
                .append(p1);
    }

    public static  KeyBuilder byPKS(int indexId, 
            byte[] p0, int p0off, 
            byte[] p1, int p1off, int p1len, 
            EntityMetadata em, KeyBuilder kb)
    {
        return kb.begin(indexId, em)
                .$append(p0, p0off, 9)
                .append(p1, p1off, p1len);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy