예제 #1
0
 //2021.01.19 cwj override?
 protected void writeScalarToOutputStream(ExtendedDataOutput @out, bool blob)
 {
     if (blob)
     {
         @out.writeBlob(value);
     }
     else
     {
         @out.writeString(value);
     }
 }
예제 #2
0
 protected internal override void writeVectorToOutputStream(ExtendedDataOutput @out)
 {
     if (isBlob)
     {
         foreach (string str in values)
         {
             @out.writeBlob(str);
         }
     }
     else
     {
         foreach (string str in values)
         {
             @out.writeString(str);
         }
     }
 }