public FullColumnDescription getQuantumDescription ( ) { if ( quantumField == null ) { for ( FullColumnDescription fd : getPartitionKeyColumnDescriptions ( ) ) { if ( fd . hasQuantum ( ) ) { if ( quantumField != null ) { throw new IllegalStateException ( "Table definition has more than one quantum." ) ; } else { quantumField = fd ; } } } } return quantumField ; }
Get the FullColumnDescription for a quantum field if any .