コード例 #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);
         }
     }
 }