import "mapreduce/yt/interface/protos/extension.proto";

message TYuidToCidRecord
{
    optional string Yuid = 1 [(NYT.column_name) = "yuid"];
    optional string Cid = 2 [(NYT.column_name) = "cid"];
}

message TUrlRecord
{
    optional string Yuid = 1 [(NYT.column_name) = "yuid"];
    optional string Host = 2 [(NYT.column_name) = "host"];
}

message TCidToBowRecord
{
    optional string Cid = 1 [(NYT.column_name) = "cid"];
    optional int64 Counter = 2 [(NYT.column_name) = "counter"];
    optional string Host = 3 [(NYT.column_name) = "host"];
    optional int64 Timestamp = 4 [(NYT.column_name) = "timestamp"];
}

message TKeyToHostRecord
{
    optional string Host = 1 [(NYT.column_name) = "host"];
    optional string Key = 2 [(NYT.column_name) = "key"];
}

message THostToVecRecord
{
    optional string Host = 1 [(NYT.column_name) = "host"];
    optional string VectorB = 2 [(NYT.column_name) = "vector_b"];
    optional string VectorM = 3 [(NYT.column_name) = "vector_m"];
}

message TExtIdToFeaturesRecord
{
    optional string Key = 1 [(NYT.column_name) = "key"];
    optional string Features = 2 [(NYT.column_name) = "features"];
}
