public static String getStringValue( ColumnSlice<String, String> columnSlice, String columnName )
{
- if ( StringUtils.isNotEmpty( columnName ) )
+ if ( StringUtils.isEmpty( columnName ) )
{
return null;
}
public static Long getLongValue( ColumnSlice<String, Long> columnSlice, String columnName )
{
- if ( StringUtils.isNotEmpty( columnName ) )
+ if ( StringUtils.isEmpty( columnName ) )
{
return null;
}
public static String getAsStringValue( ColumnSlice<String, Long> columnSlice, String columnName )
{
StringSerializer ss = StringSerializer.get();
- if ( StringUtils.isNotEmpty( columnName ) )
+ if ( StringUtils.isEmpty( columnName ) )
{
return null;
}
public static Long getAsLongValue( ColumnSlice<String, String> columnSlice, String columnName )
{
LongSerializer ls = LongSerializer.get();
- if ( StringUtils.isNotEmpty( columnName ) )
+ if ( StringUtils.isEmpty( columnName ) )
{
return null;
}
cassandraArchivaManager.getCluster().truncate( cassandraArchivaManager.getKeyspace().getKeyspaceName(),
"repository" );
+ cassandraArchivaManager.getCluster().truncate( cassandraArchivaManager.getKeyspace().getKeyspaceName(),
+ "projectversionmetadatamodel" );
+
+ cassandraArchivaManager.getCluster().truncate( cassandraArchivaManager.getKeyspace().getKeyspaceName(),
+ "artifactmetadatamodel" );
+
+ cassandraArchivaManager.getCluster().truncate( cassandraArchivaManager.getKeyspace().getKeyspaceName(),
+ "metadatafacetmodel" );
+
+ cassandraArchivaManager.getCluster().truncate( cassandraArchivaManager.getKeyspace().getKeyspaceName(),
+ "metadatafacetmodel" );
+
}
}