Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Unify syntax for columns and families #1

@Lemmsjid

Description

@Lemmsjid

Column families require type parameters, whereas columns do not. For example:

//Define a family whose name is a String, whose Key Type is a String, and whose Value is an Int
family[String,String,Int]("myfamilyname") 

versus

//Define a column whose value type is a String
column(familyRef, "mycolumn", classOf[String])

The second syntax is cleaner because it makes everything explicit, esp if you use named parameters. So we'll upgrade families to use that syntax.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions