package com.datastax.dse.protocol.internal;
import com.datastax.oss.protocol.internal.ProtocolConstants;
public class DseProtocolConstants {
public static class Version {
public static final int DSE_V1 = 65;
public static final int DSE_V2 = 66;
public static final int MIN = DSE_V1;
public static final int MAX = DSE_V2;
public static final int BETA = -1;
}
public static class Opcode {
public static final int REVISE_REQUEST = 0xff;
}
public static class QueryFlag {
public static final int PAGE_SIZE_BYTES = 0x40000000;
public static final int CONTINUOUS_PAGING = 0x80000000;
}
public static class RowsFlag {
public static final int CONTINUOUS_PAGING = 0x40000000;
public static final int LAST_CONTINUOUS_PAGE = 0x80000000;
}
public static class RevisionType {
public static final int CANCEL_CONTINUOUS_PAGING = 0x00000001;
public static final int MORE_CONTINUOUS_PAGES = 0x00000002;
}
public static class ErrorCode {
public static final int CLIENT_WRITE_FAILURE = 0x8000;
}
}