Exemplo n.º 1
0
 /**
  * Adds a new empty record of the specified type
  *
  * @param recordType the vector type
  * @return this modified
  */
 default Builder addRecord(VectorType recordType) {
   return addRecord(recordType.newBuilder());
 }
Exemplo n.º 2
0
 /**
  * Adds a new vector builder as an additional column using {@link
  * org.briljantframework.data.vector.VectorType#newBuilder()}
  *
  * @param columnType the type
  * @return receiver modified
  */
 default Builder add(VectorType columnType) {
   return add(columnType.newBuilder());
 }
Exemplo n.º 3
0
 /**
  * Set the record at the specified position to an empty vector of the specified type
  *
  * @param key the record key
  * @param recordType the vector type
  * @return this modified
  */
 default Builder setRecord(Object key, VectorType recordType) {
   return setRecord(key, recordType.newBuilder());
 }
Exemplo n.º 4
0
 /**
  * Set the column at the specified index to a new empty vector builder of the specified type.
  *
  * @param key the column index
  * @param columnType the type of vector
  * @return this modified
  */
 default Builder set(Object key, VectorType columnType) {
   return set(key, columnType.newBuilder());
 }