本文整理汇总了Java中com.jcabi.aspects.Loggable.DEBUG属性的典型用法代码示例。如果您正苦于以下问题:Java Loggable.DEBUG属性的具体用法?Java Loggable.DEBUG怎么用?Java Loggable.DEBUG使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类com.jcabi.aspects.Loggable
的用法示例。
在下文中一共展示了Loggable.DEBUG属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: update_table_column_statistics
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public boolean update_table_column_statistics(ColumnStatistics stats_obj)
throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, TException {
DatabaseMapping mapping = checkWritePermissions(stats_obj.getStatsDesc().getDbName());
return mapping.getClient().update_table_column_statistics(mapping.transformInboundColumnStatistics(stats_obj));
}
示例2: alter_function
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public void alter_function(String dbName, String funcName, Function newFunc)
throws InvalidOperationException, MetaException, TException {
DatabaseMapping mapping = checkWritePermissions(dbName);
mapping.checkWritePermissions(newFunc.getDbName());
mapping.getClient().alter_function(mapping.transformInboundDatabaseName(dbName), funcName,
mapping.transformInboundFunction(newFunc));
}
示例3: update_partition_column_statistics
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public boolean update_partition_column_statistics(ColumnStatistics stats_obj)
throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, TException {
DatabaseMapping mapping = checkWritePermissions(stats_obj.getStatsDesc().getDbName());
return mapping.getClient().update_partition_column_statistics(mapping.transformInboundColumnStatistics(stats_obj));
}
示例4: alter_table_with_cascade
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public void alter_table_with_cascade(String dbname, String tbl_name, Table new_tbl, boolean cascade)
throws InvalidOperationException, MetaException, TException {
DatabaseMapping mapping = checkWritePermissions(dbname);
mapping.getClient().alter_table_with_cascade(mapping.transformInboundDatabaseName(dbname), tbl_name, new_tbl,
cascade);
}
示例5: alter_partitions_with_environment_context
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public void alter_partitions_with_environment_context(
String db_name,
String tbl_name,
List<Partition> new_parts,
EnvironmentContext environment_context)
throws InvalidOperationException, MetaException, TException {
DatabaseMapping mapping = checkWritePermissions(db_name);
mapping.getClient().alter_partitions_with_environment_context(mapping.transformInboundDatabaseName(db_name),
tbl_name, new_parts, environment_context);
}
示例6: alter_index
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public void alter_index(String dbname, String base_tbl_name, String idx_name, Index new_idx)
throws InvalidOperationException, MetaException, TException {
DatabaseMapping mapping = checkWritePermissions(dbname);
mapping.checkWritePermissions(new_idx.getDbName());
mapping.getClient().alter_index(mapping.transformInboundDatabaseName(dbname), base_tbl_name, idx_name,
mapping.transformInboundIndex(new_idx));
}
示例7: get_table_statistics_req
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public TableStatsResult get_table_statistics_req(TableStatsRequest request)
throws NoSuchObjectException, MetaException, TException {
DatabaseMapping mapping = databaseMappingService.databaseMapping(request.getDbName());
return mapping.getClient().get_table_statistics_req(mapping.transformInboundTableStatsRequest(request));
}
示例8: get_primary_keys
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public PrimaryKeysResponse get_primary_keys(PrimaryKeysRequest request)
throws MetaException, NoSuchObjectException, TException {
DatabaseMapping mapping = databaseMappingService.databaseMapping(request.getDb_name());
return mapping.transformOutboundPrimaryKeysResponse(
mapping.getClient().get_primary_keys(mapping.transformInboundPrimaryKeysRequest(request)));
}
示例9: get_partitions_statistics_req
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public PartitionsStatsResult get_partitions_statistics_req(PartitionsStatsRequest request)
throws NoSuchObjectException, MetaException, TException {
DatabaseMapping mapping = databaseMappingService.databaseMapping(request.getDbName());
return mapping.getClient().get_partitions_statistics_req(mapping.transformInboundPartitionsStatsRequest(request));
}
示例10: cache_file_metadata
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public CacheFileMetadataResult cache_file_metadata(CacheFileMetadataRequest req) throws TException {
DatabaseMapping mapping = databaseMappingService.primaryDatabaseMapping();
mapping.checkWritePermissions(req.getDbName());
return mapping.getClient().cache_file_metadata(mapping.transformInboundCacheFileMetadataRequest(req));
}
示例11: get_partitions_by_expr
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public PartitionsByExprResult get_partitions_by_expr(PartitionsByExprRequest req)
throws MetaException, NoSuchObjectException, TException {
DatabaseMapping mapping = databaseMappingService.databaseMapping(req.getDbName());
PartitionsByExprResult result = mapping
.getClient()
.get_partitions_by_expr(mapping.transformInboundPartitionsByExprRequest(req));
return mapping.transformOutboundPartitionsByExprResult(result);
}
示例12: drop_partition_by_name_with_environment_context
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public boolean drop_partition_by_name_with_environment_context(
String db_name,
String tbl_name,
String part_name,
boolean deleteData,
EnvironmentContext environment_context)
throws NoSuchObjectException, MetaException, TException {
DatabaseMapping mapping = checkWritePermissions(db_name);
return mapping.getClient().drop_partition_by_name_with_environment_context(
mapping.transformInboundDatabaseName(db_name), tbl_name, part_name, deleteData, environment_context);
}
示例13: abort_txns
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public void abort_txns(AbortTxnsRequest rqst) throws NoSuchTxnException, TException {
getPrimaryClient().abort_txns(rqst);
}
示例14: add_primary_key
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public void add_primary_key(AddPrimaryKeyRequest req) throws NoSuchObjectException, MetaException, TException {
getPrimaryClient().add_primary_key(req);
}
示例15: get_next_notification
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
@Override
public NotificationEventResponse get_next_notification(NotificationEventRequest rqst) throws TException {
return getPrimaryClient().get_next_notification(rqst);
}