Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Bigtable e API HBase
Uma maneira de se comunicar com o Bigtable é por meio do
cliente HBase do Cloud Bigtable para Java, que é uma versão personalizada do
cliente do Apache HBase. O cliente HBase do Cloud Bigtable para
Java permite gravar aplicativos Java que se comunicam com o
Bigtable pela API HBase de código aberto. Ele
é compatível com as versões 1.x e 2.x da API HBase.
O cliente HBase do Cloud Bigtable para Java é destinado a clientes que estão migrando
do HBase para o Bigtable e querem continuar usando a API HBase. Em todos os outros casos,
os desenvolvedores Java devem usar o
cliente do Cloud Bigtable
para Java, que chama as APIs do Bigtable.
Para saber como adicionar o cliente HBase para Java ao seu aplicativo, veja Bibliotecas de cliente.
O código-fonte do cliente está disponível no repositório do GitHub, googleapis/java-bigtable-hbase (em inglês). O código de amostra que utiliza o cliente está disponível nos seguintes repositórios do GitHub:
Quando você usa o cliente HBase do Cloud Bigtable para Java, não é necessário executar o servidor do HBase. Isso porque você utiliza uma versão modificada da interface do cliente HBase. O Google executa e mantém os servidores do
serviço Bigtable.
Como o HBase e o Bigtable não são idênticos, há pequenas
diferenças entre a API HBase padrão e a API HBase para
o Cloud Bigtable. Veja os detalhes em Diferenças entre a API HBase e
APIs Bigtable.
O cliente HBase do Cloud Bigtable para Java funciona com o Hadoop 2.4 e posterior. Ele requer um ambiente de tempo de execução Java 8.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[[["\u003cp\u003eThe Cloud Bigtable HBase client for Java allows Java applications to interact with Bigtable using the open-source HBase API, compatible with versions 1.x and 2.x.\u003c/p\u003e\n"],["\u003cp\u003eThis client is designed for users migrating from HBase to Bigtable who wish to maintain their use of the HBase API.\u003c/p\u003e\n"],["\u003cp\u003eWhen utilizing this client, the HBase server does not need to be run as Google manages the Bigtable service servers.\u003c/p\u003e\n"],["\u003cp\u003eAlthough Bigtable is similar to HBase, some minor differences exist between the standard HBase API and the HBase API for Cloud Bigtable.\u003c/p\u003e\n"],["\u003cp\u003eThe Cloud Bigtable HBase client for Java requires a minimum of Hadoop 2.4 and a Java 8 runtime environment to operate.\u003c/p\u003e\n"]]],[],null,["Bigtable and the HBase API\n\nOne way to communicate with Bigtable is through the\nCloud Bigtable HBase client for Java, which is a customized version of\nthe [Apache HBase](https://hbase.apache.org/) client. The Cloud Bigtable HBase client for\nJava enables you to write Java applications that communicate with\nBigtable through the open-source [HBase API](https://hbase.apache.org/apidocs/). The\nclient is compatible with HBase API versions 1.x and 2.x.\n\n\nThe Cloud Bigtable HBase client for Java is for customers who are migrating\nto Bigtable from HBase and want to continue using the HBase API. In all other cases,\nJava developers should instead use the\n[Cloud Bigtable client\nfor Java](/java/docs/reference/google-cloud-bigtable/latest/overview), which calls the Bigtable APIs.\n\nTo learn how to add the HBase client for Java to your application, see [Client\nLibraries](/bigtable/docs/reference/libraries).\n\nSource code for the client is available in the GitHub repository\n[googleapis/java-bigtable-hbase](https://github.com/googleapis/java-bigtable-hbase). Sample code that uses\nthe client is available in the following GitHub repositories:\n\n- [GoogleCloudPlatform/java-docs-samples](https://github.com/GoogleCloudPlatform/java-docs-samples)\n- [googleapis/java-bigtable-hbase](https://github.com/googleapis/java-bigtable-hbase)\n\nWhen you use the Cloud Bigtable HBase client for Java, you don't need to\nrun the HBase server. You are simply using a modified version of the HBase\nclient interface. Google runs and maintains the servers for the\nBigtable service.\n\nBecause HBase and Bigtable are not identical, there are minor\ndifferences between the standard HBase API and the HBase API for\nCloud Bigtable. See [Differences between the HBase and\nBigtable APIs](/bigtable/docs/hbase-differences) for details.\n\nThe Cloud Bigtable HBase client for Java works with Hadoop 2.4 and\nlater. It requires a Java 8 runtime environment.\n\nWhat's next\n\n- View a [\"hello world\" example](/bigtable/docs/samples-java-hello) for the HBase client for Java.\n- Learn how to [connect to Bigtable](/bigtable/docs/hbase-connecting).\n- Find out how to [add the client library to your application](/bigtable/docs/reference/libraries)."]]