Skip to content

Commit

Permalink
Attribute has a Context member and Builder like the other structs, an…
Browse files Browse the repository at this point in the history
…d add a bunch more getters/setters for Attribute and Schema (#7)

* TryFrom for Layout enum

* TryFrom for ArrayType enum

* Attribute builder and stylize similar to other structs
  • Loading branch information
rroelke authored Mar 19, 2024
1 parent b646047 commit 19d91a2
Show file tree
Hide file tree
Showing 4 changed files with 750 additions and 338 deletions.
5 changes: 3 additions & 2 deletions tiledb/api/examples/quickstart_dense.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ fn create_array() -> TileDBResult<()> {
.build()
};

let attribute_a = tiledb::array::Attribute::new(
let attribute_a = tiledb::array::AttributeBuilder::new(
&tdb,
QUICKSTART_ATTRIBUTE_NAME,
tiledb::Datatype::Int32,
)?;
)?
.build();

let schema = tiledb::array::SchemaBuilder::new(
&tdb,
Expand Down
Loading

0 comments on commit 19d91a2

Please sign in to comment.