public class Inspector
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Inspector.Descriptor |
| Constructor and Description |
|---|
Inspector(java.lang.Class sourceClass,
Generator generator) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClusteringKey(Inspector.Descriptor descriptor) |
void |
addPartitionKey(Inspector.Descriptor descriptor) |
java.lang.String |
getCheckpointColumn(int n) |
java.lang.Object |
getClusteringKey(java.lang.Object object,
int n) |
java.lang.Class |
getClusteringKeyClass(int n) |
java.lang.String |
getClusteringKeyColumn(int n) |
Generator |
getGenerator() |
java.lang.Object |
getPartitionKey(java.lang.Object object,
int n) |
java.lang.Class |
getPartitionKeyClass(int n) |
java.lang.String |
getPartitionKeyColumn(int n) |
PrimaryKey |
getPrimaryKey(java.lang.Object object) |
java.lang.Class |
getSourceClass() |
java.util.concurrent.TimeUnit |
getTimeUnit() |
void |
initialize() |
void |
setCheckpoint(java.lang.Object object,
int n,
java.lang.Object value) |
void |
setPrimaryKey(PrimaryKey key,
java.lang.Object object) |
java.lang.String |
tableName() |
public Inspector(java.lang.Class sourceClass,
Generator generator)
public Generator getGenerator()
public java.lang.Class getSourceClass()
public java.util.concurrent.TimeUnit getTimeUnit()
public void addPartitionKey(Inspector.Descriptor descriptor)
public void addClusteringKey(Inspector.Descriptor descriptor)
public java.lang.String getPartitionKeyColumn(int n)
public java.lang.Class getPartitionKeyClass(int n)
public java.lang.Object getPartitionKey(java.lang.Object object,
int n)
public java.lang.String getCheckpointColumn(int n)
public void setCheckpoint(java.lang.Object object,
int n,
java.lang.Object value)
public java.lang.String getClusteringKeyColumn(int n)
public java.lang.Class getClusteringKeyClass(int n)
public java.lang.Object getClusteringKey(java.lang.Object object,
int n)
public java.lang.String tableName()
public void setPrimaryKey(PrimaryKey key, java.lang.Object object)
public PrimaryKey getPrimaryKey(java.lang.Object object)
public void initialize()