bytearray-schema-hbase

schemaless byte array complex to Scala type converter

License

License

GroupId

GroupId

com.chatwork
ArtifactId

ArtifactId

bytearray-schema-hbase_2.12
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

bytearray-schema-hbase
schemaless byte array complex to Scala type converter
Project URL

Project URL

https://github.com/chatwork/bytearray-schema
Project Organization

Project Organization

Chatwork Co., Ltd.
Source Code Management

Source Code Management

https://github.com/chatwork/bytearray-schema

Download bytearray-schema-hbase_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/com.chatwork/bytearray-schema-hbase_2.12/ -->
<dependency>
    <groupId>com.chatwork</groupId>
    <artifactId>bytearray-schema-hbase_2.12</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.chatwork/bytearray-schema-hbase_2.12/
implementation 'com.chatwork:bytearray-schema-hbase_2.12:1.0.0'
// https://jarcasting.com/artifacts/com.chatwork/bytearray-schema-hbase_2.12/
implementation ("com.chatwork:bytearray-schema-hbase_2.12:1.0.0")
'com.chatwork:bytearray-schema-hbase_2.12:jar:1.0.0'
<dependency org="com.chatwork" name="bytearray-schema-hbase_2.12" rev="1.0.0">
  <artifact name="bytearray-schema-hbase_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.chatwork', module='bytearray-schema-hbase_2.12', version='1.0.0')
)
libraryDependencies += "com.chatwork" % "bytearray-schema-hbase_2.12" % "1.0.0"
[com.chatwork/bytearray-schema-hbase_2.12 "1.0.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.2
com.chatwork : bytearray-schema_2.12 jar 1.0.0

provided (2)

Group / Artifact Type Version
org.apache.hadoop : hadoop-common jar 2.6.2
org.apache.hbase : hbase-common jar 1.1.4

test (1)

Group / Artifact Type Version
org.scalatest : scalatest-funsuite_2.12 jar 3.2.3

Project Modules

There are no modules declared in this project.

bytearray-schema

Schemaless byte-array complex from/to Scala case class converter.

CircleCI

Install

libraryDependencies ++= Seq(
  "com.chatwork" %% "bytearray-schema" % "1.0.0",
  "com.chatwork" %% "bytearray-schema-hbase" % "1.0.0",
)

Usage

Note) package name starts with tanukki since this is a fork of https://github.com/TanUkkii007/bytearray-schema

import tanukkii.bytearrayschema.BytesMapFormat
import tanukkii.bytearrayschema.hbase.HBaseBytesMapProtocol

case class HMessageBody(id: Long, message: String, created_at: Long)

object HBaseMessageBodyBytesMapProtocol extends HBaseBytesMapProtocol {
  implicit val HBaseMessageBodyFormat: BytesMapFormat[HBaseMessageBody] = bytesMapFormat8(HBaseMessageBody)
}
com.chatwork

Chatwork

Versions

Version
1.0.0