Class HbaseResource


  • @Path("/hbase")
    @ApplicationScoped
    public class HbaseResource
    extends Object
    • Field Detail

      • producerTemplate

        @Inject
        org.apache.camel.ProducerTemplate producerTemplate
      • consumerTemplate

        @Inject
        org.apache.camel.ConsumerTemplate consumerTemplate
    • Constructor Detail

      • HbaseResource

        public HbaseResource()
    • Method Detail

      • get

        @Path("/get/{table}")
        @GET
        @Produces("application/json")
        public org.apache.camel.component.hbase.model.HBaseData get​(@PathParam("table")
                                                                    String table)
      • put

        @Path("/put/{table}/{id}/{family}/{column}")
        @POST
        @Produces("text/plain")
        public javax.ws.rs.core.Response put​(String body,
                                             @PathParam("table")
                                             String table,
                                             @PathParam("id")
                                             String id,
                                             @PathParam("family")
                                             String family,
                                             @PathParam("column")
                                             String column)
                                      throws Exception
        Throws:
        Exception