code: @Override
      public void clear() {
          data.yDataType = null;
          data.atomicNextAvailableRecordId.set(0);
          data.xDataTypes.clear();
          data.records.clear();
      }
docs: Clears all the internal Records of the Dataframe. The Dataframe can be used
  after you clear it.