import "library/cpp/getoptpb/proto/confoption.proto";

package NRTYServer;

message TParamsOpPerf {
    optional int32 Retries = 1 [(NGetoptPb.Conf).Descr = "Number of runs for multiple-run mode"];

    optional string ExtraCgi = 2 [(NGetoptPb.Conf).Descr = "Extra string to be added to each query"];

    optional int32 MaxQueries = 3 [(NGetoptPb.Conf).Descr = "Limit plan to the first N queries"];
}

message TParamsOpViewer {
    optional uint64 QueryId = 1 [(NGetoptPb.Conf).Descr = "Query id for debug"];

    optional string ExtraCgi = 2 [(NGetoptPb.Conf).Descr = "Extra string to be added to each query"];
}

message TParamsOpPool {
    enum EPoolMode {
        SimplePool = 1 [(NGetoptPb.Val) = "simple"];
        // DocIdPool = 2 [(NGetoptPb.Val) = "docid"];
    }

    optional EPoolMode Mode = 1 [default = SimplePool, (NGetoptPb.Conf).Descr = "Submode"];

    optional string ExtraCgi = 2 [(NGetoptPb.Conf).Descr = "Extra string to be added to each query"];

    optional int32 MaxQueries = 3 [(NGetoptPb.Conf).Descr = "Limit plan to the first N queries"];
}
