Habilidades azure-data-tables-java
📦

azure-data-tables-java

Seguro

Build Azure Table Storage Apps with Java

Need to store structured NoSQL data at scale? This skill helps you implement table storage solutions using Azure Tables SDK for Java with proper authentication and efficient query patterns.

Soporta: Claude Codex Code(CC)
🥉 74 Bronce
1

Descargar el ZIP de la skill

2

Subir en Claude

Ve a Configuración → Capacidades → Skills → Subir skill

3

Activa y empieza a usar

Pruébalo

Usando "azure-data-tables-java". Create an entity and handle conflict errors

Resultado esperado:

TableEntity entity = new TableEntity("products", "laptop-001").addProperty("Name", "Laptop").addProperty("Price", 999.99);
try {
tableClient.createEntity(entity);
} catch (TableServiceException e) {
if (e.getResponse().getStatusCode() == 409) {
System.out.println("Entity already exists - use upsert instead");
}
}

Usando "azure-data-tables-java". Query with filter and projection

Resultado esperado:

ListEntitiesOptions options = new ListEntitiesOptions()
.setFilter("PartitionKey eq 'electronics' and Price gt 100")
.setSelect("Name", "Price")
.setTop(10);
for (TableEntity entity : tableClient.listEntities(options, null, null)) {
System.out.printf("%s: $%.2f%n", entity.getProperty("Name"), entity.getProperty("Price"));
}

Auditoría de seguridad

Seguro
v1 • 2/24/2026

This skill is safe for publication. All static analysis findings are false positives. The external_commands detections are Java code examples in markdown format, not shell execution. URL references are environment variable documentation examples, not hardcoded endpoints. The cryptographic and system reconnaissance flags are incorrect pattern matches on documentation text and getter method names.

1
Archivos escaneados
340
Líneas analizadas
0
hallazgos
1
Auditorías totales
No se encontraron problemas de seguridad
Auditado por: claude

Puntuación de calidad

38
Arquitectura
100
Mantenibilidad
87
Contenido
50
Comunidad
100
Seguridad
91
Cumplimiento de la especificación

Lo que puedes crear

Application State Storage

Store user sessions, application settings, or feature flags with fast partition-based lookups

IoT Telemetry Data

Ingest and query sensor data using device ID as partition key with timestamp row keys

Product Catalog Management

Maintain product inventory with category-based partitions and efficient price/availability queries

Prueba estos prompts

Initialize Table Client
Create a TableServiceClient using connection string authentication, then create a table called 'inventory' if it does not exist.
CRUD Entity Operations
Show me how to create a new entity with partition key 'products', row key 'laptop-001', and properties Name, Price, and Quantity. Then retrieve and update the price.
Filtered Query
Query all entities where PartitionKey equals 'electronics' and Price is greater than 100, returning only Name and Price properties with a limit of 10 results.
Batch Transaction
Create a batch transaction that inserts three entities with the same partition key 'batch' and row keys 'row1', 'row2', and 'row3' atomically.

Mejores prácticas

  • Design partition keys to distribute queries evenly and avoid hotspots
  • Always filter by PartitionKey in queries for optimal performance
  • Use batch transactions for atomic updates to entities sharing the same partition key

Evitar

  • Using timestamps or sequential values as partition keys causes uneven load distribution
  • Querying without PartitionKey filter results in full table scans and poor performance
  • Storing entities larger than size limits causes failures - keep under 1MB for Storage or 2MB for Cosmos

Preguntas frecuentes

What is the difference between Azure Table Storage and Cosmos DB Table API?
Azure Table Storage offers cost-effective key-value storage with 1MB entity limit. Cosmos DB Table API provides global distribution, lower latency, and 2MB entity limit with higher cost.
How do I choose a good partition key?
Select a property with high cardinality that distributes queries evenly. Common patterns include user IDs, device IDs, or category codes based on your access patterns.
Can I update just one property of an entity?
Yes, use updateEntity with TableEntityUpdateMode.MERGE to update only specified properties, or REPLACE to overwrite the entire entity.
What authentication methods are supported?
Connection strings, shared keys, SAS tokens, and DefaultAzureCredential (for Table Storage only, not Cosmos DB Table API).
How many entities can I include in a batch transaction?
Batch operations support up to 100 entities per transaction, all sharing the same partition key and within 4MB total payload size.
What does a 409 conflict error mean?
A 409 status code indicates the entity already exists. Use upsertEntity instead of createEntity, or handle the exception and retry with updateEntity.

Detalles del desarrollador

Estructura de archivos

📄 SKILL.md