code: private void setEdgeWeight(E edge, final double weight) throws SQLException {
          if (edge != null && weightColumnIndex != -1) {
              edge.setWeight(weight);
          }
      }
docs: Set this edge's weight to the weight contained in the current row.
  
  @param edge Edge
  @throws SQLException If the weight cannot be retrieved